Page MenuHomeSoftware Heritage

lister_base: Split into chunks the tasks prior to creation
ClosedPublic

Authored by ardumont on Dec 19 2019, 10:55 AM.

Details

Summary

This should avoid the timeout-ing.

Trade off is that we create multiple transactions instead of one.

This will fix [1]

https://sentry.softwareheritage.org/share/issue/2858dec4b0794ee1a9029a080f6c7bb4/

Related to T2160

Test Plan
  • tox
  • prod: tested, the lister on the same task. It finished without any issue this time.

Diff Detail

Repository
rDLS Listers
Branch
split-tasks-creation
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 9887
Build 14598: tox-on-jenkinsJenkins
Build 14597: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Dec 19 2019, 11:35 AM