Commit 10bcd28e authored by Julien Muchembled's avatar Julien Muchembled

CMFActivity: execute activities at most 4 times (instead of 6) before giving up

6 was the maximum value before commit 32877, when the number of retries depended
on the initial priority. The minimum was 1.

This lowers to some mean value, as 6 appears to be sometimes excessive.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42282 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 53be0be5
......@@ -21,7 +21,7 @@ class BaseMessage:
delay = __property(delay=None)
# None means infinite retry
max_retry = __property(max_retry=5)
max_retry = __property(max_retry=3)
# For errors happening after message invocation (ConflictError),
# should we retry quickly without increasing 'retry' count ?
conflict_retry = __property(conflict_retry=True)
......
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