An error occurred fetching the project authors.
- 28 Apr, 2010 1 commit
-
-
Julien Muchembled authored
At most 1 message for a given serialization tag can be validated (cf [28706]). Respect priority/date/uid when validating only 1 message (cf [34632]). git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34841 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 06 Apr, 2010 1 commit
-
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34303 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 19 Feb, 2010 5 commits
-
-
Julien Muchembled authored
* Change subject from "Failed Processing Activity" to "Activity failed: <path>/<method>" * The subject starts with "Pending activity already failed <failures> times:" if CMFActivity is going to reexecute indefinitely. * Drop the first line of the body. It was repeating the the subject. * Add number of failures. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32880 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Julien Muchembled authored
getActivityRuntimeEnvironment is changed to return an ActivityRuntimeEnvironment instance instead of a dict (and this value is now stored in a transactional variable, for automatic cleanup). This object allow activities to change default behaviour of CMFActivity if an error happens. In the future, this object could also allow executed activity to inspect its related Message object. In case of infinite retry, notify the user when the default limit is reached. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32879 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Julien Muchembled authored
retry | now ------+------ 0 | 15 1 | 30 2 | 1:15 3 | 2:30 4 | 4:15 5 | 6:30 6 | 9:15 7 | 12:30 8 | 16:15 9 | 20:30 ... | ... For ConflictError, delay is still constant to 30 seconds. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32878 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Julien Muchembled authored
Now, all messages can be executed 6 times by default (or more in case of ConflictError), regardless their initial priority. For compatibility reasons, the 'priority' column is still increased. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32877 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32876 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 17 Jun, 2009 1 commit
-
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27626 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 09 Jun, 2009 1 commit
-
-
Julien Muchembled authored
* Remove links to cancel or invoke activities from manageActivities. It was too dangerous and requires too much work to fix. * Fix display of args column. Use html_quote to display activity_kw, agrs & kw columns. * Display all activities (processing SQLQueue activities were hidden). * Add uid column. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27474 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 06 Feb, 2009 1 commit
-
-
Julien Muchembled authored
Move _validate_* methods from SQLDict and SQLQueue to SQLBase, and fix checking of parameters (cf r24586). git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25481 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 05 Apr, 2008 1 commit
-
-
Yoshinori Okuji authored
Remove MySQL dependency from CMFActivity. Translate a lock error into ConflictError in database adapters instead. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20317 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 04 Apr, 2008 1 commit
-
-
Vincent Pelletier authored
When SQL{Dict|Queue}_delMessage gets a lock error, retry. Do so infinitely, otherwise uid list would be lost and manual intervention would be required. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20306 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 20 Feb, 2008 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19425 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 19 Feb, 2008 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19389 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 23 Nov, 2007 1 commit
-
-
Sebastien Robin authored
Make ActivityTool:Message.getObjectList simple to use: detect internaly wether an expand method must be called, catch exception when object on which the activity was executed cannot be found. Remove broadcast message support. Merge indexes on processing_node and processing columns on both message and message_queue tables. Always use SQL server's time. Do not update processing node value when setting the message as being processed. Commit SQL connection as soon as messages get assigned to reduce lock duration. Make SQLDict ZSQLMethods support list of uids instead of single value per call. Make ZSQLMethod handle processing_node differently if it's 0 or None (when not passed as parameter, behave as if it's None). Do not force all parameters to be passed to SQLQueue_setPriority. Factorise SQL code inside <dtml-if> blocks. Allow to select ranges of lines in readMessageList with a custom offset. When reseting message processing state at first activity execution pass after a node start, also reset the processing_node. Commit SQL connection as soon as messages are set to processing state, mainly to make it visible outside current connection. Add a common class for SQL-using activity queues. CMFActivity/Activity/SQLDict.py Remove unused (and broken) prepareQueueMessage method. Replace a tab by spaces. Add ZSQLMethod wrappers for new ZSQLMethods. Split dequeueMessage into dequeueMessage, getProcessableMessageList, finalizeMessage_Execution. Return True instead of 0 in case of an important error, in order to prevent CMFActivity from doing infinite loops over dequeueMessage when something goes wrong. CMFActivity/Activity/Queue.py Allow caller to specify the current date and transmit it when recursing. Fallback on DateTime (calculate just once) if not specified. CMFActivity/Activity/SQLQueue.py Precompute parameters in prepareQueueMessage to make it easier to add a log when needed. Also reduces the distance with SQLDict's equivalent method. Add ZSQLMethod wrappers for new ZSQLMethods. Split dequeueMessage into dequeueMessage, getProcessableMessageList, finalizeMessage_Execution. Return True instead of 0 in case of an important error, in order to prevent CMFActivity from doing infinite loops over dequeueMessage when something goes wrong. Add scripts to monitor activity distribution. Remove unused ZSQLMethods. Add new ZSQLMethods related to the new distribution scheme and SQL server time grabbing. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17759 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 27 Aug, 2007 1 commit
-
-
Jean-Paul Smets authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15815 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 25 Mar, 2006 1 commit
-
-
Yoshinori Okuji authored
Remove unneeded executable flags. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6280 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 08 Feb, 2004 1 commit
-
-
Jean-Paul Smets authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@430 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 10 Dec, 2002 1 commit
-
-
Jean-Paul Smets authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2 20353a03-c40f-0410-a6d1-a30d3c3de9de
-