HomeSoftware Heritage

listers: Ensure celery only receives one SIGTERM signal

Description

listers: Ensure celery only receives one SIGTERM signal

Without this, celery can receive multiple SIGTERM calls. The first one is triggering a
warm shutdown, and the subsequents ones are just killing the ongoing task without
letting it the time to finish properly.

Related to T4540

Details

Provenance
ardumontAuthored on Sep 22 2022, 5:38 PM
ardumontPushed on Sep 22 2022, 5:39 PM
Parents
R260:7a288f5d9975: staging: Decrease replica
Branches
Unknown
Tags
Unknown