Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update celery.current_app after a container restarts #75

Merged
merged 2 commits into from
Oct 26, 2023

Conversation

Nusnus
Copy link
Member

@Nusnus Nusnus commented Oct 25, 2023

Allows to restart a component (e.g., broker) and have the component object automatically working with the celery architecture after a restart, even if some attributes (e.g., container ports on the host machine/testing running machine) have been changed.

@Nusnus Nusnus self-assigned this Oct 25, 2023
@codecov
Copy link

codecov bot commented Oct 25, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (996fece) 23.93% compared to head (bbda394) 24.06%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #75      +/-   ##
==========================================
+ Coverage   23.93%   24.06%   +0.13%     
==========================================
  Files          34       34              
  Lines         936      939       +3     
  Branches      181      182       +1     
==========================================
+ Hits          224      226       +2     
- Misses        691      692       +1     
  Partials       21       21              
Files Coverage Δ
src/pytest_celery/api/base.py 38.67% <75.00%> (+0.81%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Nusnus Nusnus marked this pull request as ready for review October 26, 2023 07:08
@Nusnus Nusnus merged commit f6558a4 into celery:main Oct 26, 2023
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant