File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99@asyncio .coroutine
1010@hook .regex (r'^\x01VERSION\x01$' )
1111def ctcp_version (notice ):
12- notice ("\x01 VERSION: CloudBotRefresh v {} - http://cloudbot.pw/" .format (cloudbot .__version__ ))
12+ notice ("\x01 VERSION: CloudBot {} - http://cloudbot.pw/" .format (cloudbot .__version__ ))
1313
1414
1515@asyncio .coroutine
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ def task_clear(loop):
1616 for uid , _bucket in buckets .copy ().items ():
1717 if (time () - _bucket .timestamp ) > 600 :
1818 del buckets [uid ]
19- loop .call_later (10 , task_clear , loop )
19+ loop .call_later (600 , task_clear , loop )
2020
2121
2222@asyncio .coroutine
@@ -28,7 +28,7 @@ def init_tasks(loop, conn):
2828 return
2929
3030 logger .info ("[{}|sieve] Bot is starting ratelimiter cleanup task." .format (conn .name ))
31- loop .call_later (10 , task_clear , loop )
31+ loop .call_later (600 , task_clear , loop )
3232 ready = True
3333
3434
You can’t perform that action at this time.
0 commit comments