crim-ca / weaver

Weaver: Workflow Execution Management Service (EMS); Application, Deployment and Execution Service (ADES); OGC API - Processes; WPS; CWL Application Package
https://pavics-weaver.readthedocs.io
Apache License 2.0
23 stars 6 forks source link

Woraround for registry resolving when restarting celery prefork workers #589

Closed perronld closed 7 months ago

perronld commented 7 months ago

Workaround pyramid.threadlocal:get_current_registry() when restarting Celery workers processes (e.g. --max-tasks-per-child)

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (e5f79a5) 85.18% compared to head (d85cf99) 85.19%.

:exclamation: Current head d85cf99 differs from pull request most recent head ab1b834. Consider uploading reports for the commit ab1b834 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #589 +/- ## ========================================== + Coverage 85.18% 85.19% +0.01% ========================================== Files 79 79 Lines 18023 18026 +3 Branches 2728 2729 +1 ========================================== + Hits 15353 15358 +5 + Misses 1940 1939 -1 + Partials 730 729 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.