[Erp5-report] r42282 jm - /erp5/trunk/products/CMFActivity/ActivityRuntimeEnvironment.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jan 12 19:54:15 CET 2011


Author: jm
Date: Wed Jan 12 19:54:15 2011
New Revision: 42282

URL: http://svn.erp5.org?rev=42282&view=rev
Log:
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.

Modified:
    erp5/trunk/products/CMFActivity/ActivityRuntimeEnvironment.py

Modified: erp5/trunk/products/CMFActivity/ActivityRuntimeEnvironment.py
URL: http://svn.erp5.org/erp5/trunk/products/CMFActivity/ActivityRuntimeEnvironment.py?rev=42282&r1=42281&r2=42282&view=diff
==============================================================================
--- erp5/trunk/products/CMFActivity/ActivityRuntimeEnvironment.py [utf8] (original)
+++ erp5/trunk/products/CMFActivity/ActivityRuntimeEnvironment.py [utf8] Wed Jan 12 19:54:15 2011
@@ -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)



More information about the Erp5-report mailing list