Skip to content
Snippets Groups Projects
  1. Jun 30, 2014
  2. Jun 25, 2014
  3. Jun 23, 2014
  4. Jun 05, 2014
  5. Jun 02, 2014
  6. May 30, 2014
  7. May 29, 2014
  8. May 28, 2014
  9. Nov 27, 2012
  10. Nov 23, 2012
  11. Nov 22, 2012
  12. Oct 29, 2012
  13. Sep 22, 2012
  14. Sep 11, 2012
  15. Sep 07, 2012
  16. Sep 04, 2012
  17. Sep 03, 2012
  18. Aug 22, 2012
  19. Mar 29, 2012
  20. Mar 28, 2012
    • Vo Minh Thu's avatar
      [IMP] cron: alternative implementation: · 1b0bfd10
      Vo Minh Thu authored
      - The previous implementation was optimized to make few queries to the database
        but needed to keep some internal state.
      - That state was updated whenever the ir_cron table was modified by the ORM
        (this works only when the cron and web processes/threads are inside a single
        OpenERP server instance).
      - The new implementation is instead polling the database.
      - This is deemed acceptable in `normal` situation (i.e. not a SaaS with
        thousand of databases).
      - This makes it possible to avoid sharing state or the use of IPC.
      - This makes it possible to add/remove additional worker processes,
        possibly on different machines.
      - The code of the older implementation is removed in this commit but
        will be added back in a later commit: this is the 6.1 stable branch
        and we don't want to change the existing installation, but simply
        provide a solution for those running OpenERP with Gunicorn (which
        uses processes for which no cron state were shared).
      
      bzr revid: vmt@openerp.com-20120328090320-vshsfv3gt1ck34s1
      1b0bfd10
  21. Mar 16, 2012
  22. Mar 15, 2012
  23. Feb 14, 2012
  24. Feb 09, 2012
  25. Feb 02, 2012
  26. Feb 01, 2012
  27. Jan 24, 2012
  28. Jan 09, 2012
Loading