Mercurial > public > sg101
comparison gpp/settings/base.py @ 525:a053fbd3ac98
For #194, create a task to run the queued_search's process_search_queue command periodically.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Mon, 19 Dec 2011 01:11:43 +0000 |
parents | 82b97697312e |
children | dd97341788fa |
comparison
equal
deleted
inserted
replaced
524:d9cf6f60b5a5 | 525:a053fbd3ac98 |
---|---|
124 'bio', | 124 'bio', |
125 'bulletins', | 125 'bulletins', |
126 'comments', | 126 'comments', |
127 'contact', | 127 'contact', |
128 'core', | 128 'core', |
129 'custom_search', | |
129 'donations', | 130 'donations', |
130 'downloads', | 131 'downloads', |
131 'forums', | 132 'forums', |
132 'gcalendar', | 133 'gcalendar', |
133 'irc', | 134 'irc', |
237 }, | 238 }, |
238 "max_users": { | 239 "max_users": { |
239 "task": "core.tasks.max_users", | 240 "task": "core.tasks.max_users", |
240 "schedule": crontab(minute='*/15'), | 241 "schedule": crontab(minute='*/15'), |
241 }, | 242 }, |
243 "search_queue": { | |
244 "task": "custom_search.tasks.process_search_queue_task", | |
245 "schedule": crontab(minute='*/20'), | |
246 }, | |
242 } | 247 } |
243 | 248 |
244 ####################################################################### | 249 ####################################################################### |
245 # GPP Specific Settings | 250 # GPP Specific Settings |
246 ####################################################################### | 251 ####################################################################### |