Skip to content

Commit

Permalink
remove artificial contact limit in query
Browse files Browse the repository at this point in the history
  • Loading branch information
nicpottier committed Mar 27, 2018
1 parent 898fbaf commit c3783ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ SELECT org_id, id, modified_on, is_active, row_to_json(t) FROM(
) as f
) as fields
FROM contacts_contact
WHERE is_test = FALSE and modified_on >= $1 and id < 40000
WHERE is_test = FALSE and modified_on >= $1
ORDER BY modified_on ASC, id ASC
LIMIT 10000
) t
Expand Down

0 comments on commit c3783ce

Please sign in to comment.