An error occurred fetching the project authors.
  1. 26 Nov, 2007 1 commit
  2. 23 Nov, 2007 1 commit
    • Sebastien Robin's avatar
      Commit work done by Vincent · e2ff442c
      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
      e2ff442c
  3. 29 Oct, 2007 1 commit
  4. 04 Oct, 2007 1 commit
  5. 06 Aug, 2007 1 commit
  6. 11 Jul, 2007 1 commit
  7. 26 Jun, 2007 2 commits
  8. 18 May, 2007 1 commit
  9. 15 May, 2007 1 commit
  10. 25 Apr, 2007 1 commit
  11. 21 Apr, 2007 1 commit
  12. 11 Apr, 2007 2 commits
    • Vincent Pelletier's avatar
    • Yoshinori Okuji's avatar
      This big change optimizes the scheduling of active objects, · 1c300e5c
      Yoshinori Okuji authored
      and fix some bugs.
      
      The basic idea is to track a dependency graph to find executable
      messages quickly. This makes the activity system far more efficient,
      when you have many inter-dependent messages queued in the tables.
      
      Also, this obsoletes the time shifting in the schedulers,
      as executable messages can be found in a more efficient manner.
      So the activity parameter "at_date" should work expectedly.
      
      Now the API of validate methods in Activities return a
      list of message objects instead of a boolean value. Such
      a list contains messages that are depended upon by a given
      message.
      
      The validate method in Message accepts a new optional
      parameter, check_order_validation, to indicate whether
      order validation should be performed. The default behavior
      has not changed.
      
      getDependentMessageList is added to ActivityTool, Queue
      and Message. This method collects dependent message for
      a given message from all activities.
      
      There are some other subtle changes. Look at the diffs for
      more details.
      
      
      git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14039 20353a03-c40f-0410-a6d1-a30d3c3de9de
      1c300e5c
  13. 04 Apr, 2007 1 commit
  14. 28 Mar, 2007 2 commits
  15. 27 Mar, 2007 1 commit
  16. 26 Mar, 2007 2 commits
  17. 23 Mar, 2007 1 commit
  18. 22 Mar, 2007 1 commit
  19. 20 Mar, 2007 1 commit
  20. 15 Mar, 2007 1 commit
  21. 14 Mar, 2007 1 commit
  22. 13 Mar, 2007 1 commit
  23. 07 Mar, 2007 1 commit
  24. 06 Mar, 2007 2 commits
  25. 02 Mar, 2007 2 commits
  26. 31 Jan, 2007 1 commit
  27. 04 Jan, 2007 1 commit
  28. 15 Dec, 2006 1 commit
  29. 19 Nov, 2006 1 commit
  30. 24 Aug, 2006 1 commit
  31. 30 Jun, 2006 1 commit
  32. 26 Jun, 2006 1 commit
  33. 23 Jun, 2006 2 commits