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

Fix cloudwatch service stopping before tasks are stopped #386

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

rowanseymour
Copy link
Member

No description provided.

mr.webserver.Stop()

mr.wg.Wait()

// now that all tasks are finished, stop services they depend on
mr.rt.CW.StopQueue()
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is now a blocking operation and that waits for its batcher to stop

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 5 lines in your changes missing coverage. Please review.

Project coverage is 62.27%. Comparing base (2007107) to head (3a1e4b9).

Files with missing lines Patch % Lines
mailroom.go 0.00% 5 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #386   +/-   ##
=======================================
  Coverage   62.27%   62.27%           
=======================================
  Files         195      195           
  Lines       13818    13818           
=======================================
  Hits         8605     8605           
  Misses       4301     4301           
  Partials      912      912           

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

@rowanseymour rowanseymour merged commit a568f9a into main Dec 16, 2024
5 checks passed
@rowanseymour rowanseymour deleted the fix_shutdown_order branch December 16, 2024 22:56
@github-actions github-actions bot locked and limited conversation to collaborators Dec 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants