Commit e77627c2 authored by Sebastien Robin's avatar Sebastien Robin

do not wait 30 days before trying again !

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4484 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e2b23a21
No related merge requests found
......@@ -78,7 +78,7 @@ class SQLQueue(RAMQueue):
if hasattr(activity_tool,'SQLQueue_readMessageList'):
now_date = DateTime()
# Next processing date in case of error
next_processing_date = now_date + VALIDATION_ERROR_DELAY
next_processing_date = now_date + float(VALIDATION_ERROR_DELAY)/86400
priority = random.choice(priority_weight)
# Try to find a message at given priority level
result = activity_tool.SQLQueue_readMessage(processing_node=processing_node, priority=priority,
......
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