comic / grand-challenge.org

A platform for end-to-end development of machine learning solutions in biomedical imaging
https://grand-challenge.org
Apache License 2.0
168 stars 50 forks source link

Fix jobs not being scheduled with full queue #3418

Closed jmsmkn closed 3 days ago

jmsmkn commented 3 days ago

The problem here was raise TooManyJobsScheduled in a transaction, so the on_commit for the retry was never executed. The two other tasks are tidied up by moving the atomic block to outside the method.

Closes #2852