1. 14 Jul, 2025 8 commits
  2. 09 Jul, 2025 1 commit
  3. 08 Jul, 2025 3 commits
  4. 02 Jul, 2025 1 commit
  5. 30 Jun, 2025 8 commits
  6. 26 Jun, 2025 1 commit
  7. 23 Jun, 2025 5 commits
  8. 20 Jun, 2025 2 commits
  9. 19 Jun, 2025 1 commit
  10. 16 Jun, 2025 7 commits
  11. 14 Jun, 2025 1 commit
  12. 13 Jun, 2025 2 commits
    • Przemyslaw Kaminski's avatar
      [worker] fix an unfortunate coincidence of various async issues · 406cd89e
      Przemyslaw Kaminski authored
      This described in this comment:
      #477 (comment 14458)
      
      I repaste, for history:
      
      - job timeout was 30 seconds only and this is a big zip file, so the job timed out in worker
      - however, this was recently added https://gitlab.iscpif.fr/gargantext/haskell-gargantext/blame/dev/src/Gargantext/Database/Action/Flow.hs#L490 and the timeout wasn't caught and the worker continued happily
      - the job finished normally (most probably)
      - the job was restarted, because default strategy for timeouts is to restart a job
      - for sending files, we use postgres large objects because it keeps our JSONs small
      - when the job finishes, it clears definitely the large object so that we don't leave large, unused blob data
      - however, that job was restarted and there was no more a large object to work on
      - you got some sql error, but that wasn't the root cause
      
      Solution is:
      - don't catch any exception, but be careful and handle `Timeout` or `KillWorkerSafely`
      - increase job timeout for file upload
      - change timeout strategy for file upload to `TSDelete`, i.e. don't retry that job anymore
      406cd89e
    • Przemyslaw Kaminski's avatar
      [worker] increase timeout for corpus file upload · 7c42b188
      Przemyslaw Kaminski authored
      It's possible that the zip file error was caused by a timeout (60 sec)
      for zip file which is too low.
      7c42b188