1. 14 Apr, 2017 3 commits
    • Romain Courteaud's avatar
    • Vincent Pelletier's avatar
      {ERP5,ZSQL}Catalog: Wrap all documents at once. · 8a278cbd
      Vincent Pelletier authored
      Allows reducing the number of user existence check queries from one per
      document to one per document batch, reducing database (currently, catalog)
      latency effect on indexation time.
      Also, avoid object -> id -> object dance for SQLCatalog instance while at
      it.
      Also, modernise syntax a bit, avoiding intermediate locals mostly.
      8a278cbd
    • Vincent Pelletier's avatar
      ERP5Catalog: Do not retrieve workflow catalog variables. · b62e851e
      Vincent Pelletier authored
      These are used nowhere in the code. In many workflows, these
      "catalog-available" variables are only configured so they appear as fields on
      worklist definitions. So it is understood as more of an informative setting
      having a local effect than a normative one having an effect on how
      indexation happens.
      So shave off a bit of useless time spent in indexation.
      Also, it should be mentionned that when profiling this code causes a big
      red-herring: this code is the first place where workflow history gets
      loaded (and presumably indexed document itself), which draws attention
      away from potentially more interesting areas.
      b62e851e
  2. 13 Apr, 2017 13 commits
  3. 12 Apr, 2017 1 commit
  4. 11 Apr, 2017 1 commit
  5. 10 Apr, 2017 1 commit
  6. 07 Apr, 2017 4 commits
  7. 06 Apr, 2017 10 commits
  8. 05 Apr, 2017 7 commits