1. 22 Jun, 2020 2 commits
  2. 19 Jun, 2020 1 commit
    • Nicolas Wavrant's avatar
      erp5_trade: move the composition cache in BusinessProcess.py · 54f40375
      Nicolas Wavrant authored
      Since BusinessProcess.py was moved to portal_components, the cache in mixin/composition.py,
      which was kept at the level of the zope process, was causing issue when portal_components
      was reset : the classes kept in __class_cache would not get resetted, and later calls
      to asComposedDocument would reuse them. In consequence, these classes would kept pointers
      to objects in the old class BusinessProcess, causing bugs as these objects would have
      been cleaned by the reset.
      
      The first intuition was to remove this cache, unfortunately the reason of this introduction
      (fixing a memory leak) is still valid nowadays, so I've decided to move this cache within
      BusinessProcess, as it has the advantage of emptying it whenever portal_components is resetted.
      
      For more information of the bug mentionned above, and the trials about removing the cache can
      be found in the discussion of this MR :
      nexedi/erp5!1032
      54f40375
  3. 29 May, 2020 1 commit
    • Jérome Perrin's avatar
      testPerformance: adjust expected times · fab90fe6
      Jérome Perrin authored
      Since commit d2b20acd004441d1cb8d36f33ed7ca112dff0d17 on slapos.git we
      are using gcc 8.2 which seem to generate slightly faster code, so we
      adjust the min time because tests were failing because we are now too
      fast.
      fab90fe6
  4. 28 May, 2020 2 commits
  5. 27 May, 2020 9 commits
  6. 25 May, 2020 6 commits
  7. 22 May, 2020 3 commits
  8. 21 May, 2020 1 commit
    • Jérome Perrin's avatar
      Prevent some useless logs · a8f32683
      Jérome Perrin authored
      This removes some logs happening a lot during tests, when installing business templates or indexing documents.
      
      See merge request !1105
      a8f32683
  9. 19 May, 2020 5 commits
  10. 18 May, 2020 1 commit
  11. 15 May, 2020 4 commits
  12. 14 May, 2020 5 commits