diff 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
line wrap: on
line diff
--- a/gpp/settings/base.py	Fri Dec 16 01:17:35 2011 +0000
+++ b/gpp/settings/base.py	Sat Dec 17 19:29:24 2011 +0000
@@ -224,10 +224,14 @@
         "task": "core.tasks.cleanup",
         "schedule": crontab(minute=0, hour=1),
     },
-    "purge messages": {
+    "purge_messages": {
         "task": "messages.tasks.purge_messages",
         "schedule": crontab(minute=30, hour=1, day_of_week='sunday'),
-    }
+    },
+    "max_users": {
+        "task": "core.tasks.max_users",
+        "schedule": crontab(minute='*/15'),
+    },
 }
 
 #######################################################################