Commit e096346b authored by Sebastien Robin's avatar Sebastien Robin

do not sleep to much time while waiting for activities

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11280 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d03ffa72
...@@ -75,7 +75,7 @@ count = 1000\n ...@@ -75,7 +75,7 @@ count = 1000\n
while len(context.portal_activities.getMessageList()) > 0:\n while len(context.portal_activities.getMessageList()) > 0:\n
context.portal_activities.process_timer(0, 0)\n context.portal_activities.process_timer(0, 0)\n
count -= 1\n count -= 1\n
sleep()\n sleep(t=1)\n
if count < 0:\n if count < 0:\n
raise RuntimeError, \'tic is endless\'\n raise RuntimeError, \'tic is endless\'\n
\n \n
......
123 128
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment