coralproject / pillar

Deprecated: Service layer for the Coral ecosystem
Other
4 stars 1 forks source link

Make max users tagged by search configurable #185

Closed jde closed 8 years ago

jde commented 8 years ago

We need to be able to cap the number of users who get tagged by a search. Saving a blank search would end up in a very log running process that tags every user in the system, if the server has enough memory to pull it off at all...

Set the default to 1000 Allow this value to be controlled by an env var PILLAR_CRON_SEARCH_MAX_USERS