comparison gpp/settings/base.py @ 519:f72ace06658a

For #194, rework the who's online and max users functions.
author Brian Neal <bgneal@gmail.com>
date Sat, 17 Dec 2011 19:29:24 +0000
parents 5171a5e9353b
children 82b97697312e
comparison
equal deleted inserted replaced
518:5171a5e9353b 519:f72ace06658a
222 }, 222 },
223 "cleanup": { 223 "cleanup": {
224 "task": "core.tasks.cleanup", 224 "task": "core.tasks.cleanup",
225 "schedule": crontab(minute=0, hour=1), 225 "schedule": crontab(minute=0, hour=1),
226 }, 226 },
227 "purge messages": { 227 "purge_messages": {
228 "task": "messages.tasks.purge_messages", 228 "task": "messages.tasks.purge_messages",
229 "schedule": crontab(minute=30, hour=1, day_of_week='sunday'), 229 "schedule": crontab(minute=30, hour=1, day_of_week='sunday'),
230 } 230 },
231 "max_users": {
232 "task": "core.tasks.max_users",
233 "schedule": crontab(minute='*/15'),
234 },
231 } 235 }
232 236
233 ####################################################################### 237 #######################################################################
234 # GPP Specific Settings 238 # GPP Specific Settings
235 ####################################################################### 239 #######################################################################