Skip to content

Stop poller cooperatively#1023

Open
jnunemaker wants to merge 2 commits into
mainfrom
cooperative-poller-stop
Open

Stop poller cooperatively#1023
jnunemaker wants to merge 2 commits into
mainfrom
cooperative-poller-stop

Conversation

@jnunemaker

Copy link
Copy Markdown
Collaborator

Summary

Poller shutdown now asks the worker to exit and wakes any interval wait instead of killing the thread asynchronously.
A normal stop can be followed by a clean restart, while server-driven poll-shutdown still prevents restart and avoids a worker joining itself.

Test Plan

  • bundle exec rspec spec/flipper/poller_spec.rb

Compound Engineering
GPT--5_Codex

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