Closed roll closed 6 years ago
@amercader Please review
@amercader Thanks!
I agree - it should not be a problem while we have only 1 or 2 simple requests there (and anyway inside the already errored session).
Probably having regular clean-up jobs could be a better solution. But current should work for now.
We solve here various issues:
errored
with a messagetime limit exceeded
if the job is unfinished for more than 10 minutes (we run this cleanup job on SQL errors) - we are ensuring that there is no stale jobs at the database level (e.g. theUI stuck in syncing repos
bug)All these steps applied should guarantee eventual integrity for the system.