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

Remove EventMachine from DNS sync scripts #2500

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

ystros
Copy link
Contributor

@ystros ystros commented Feb 23, 2024

The DNS sync scripts were setting up EventMachine, but seemingly never made use of it.

Additionally, the AgentBroadcaster (which is used both inside the DNS sync scripts and in the Director during deploy) had a reference to a "EmReactorLoop" class. It appears this class used to use EventMachine, but now simply yields whatever block is passed to it. Since it's just calling a block method, it has been removed in favor of just the code in the block.

See also #2497, #2499 for more removals of EventMachine.

The DNS sync scripts were setting up EventMachine, but seemingly never
made use of it.

Additionally, the AgentBroadcaster (which is used both inside the DNS
sync scripts and in the Director during deploy) had a reference to a
"EmReactorLoop" class. It appears this class used to use EventMachine,
but now simply yields whatever block is passed to it. Since it's just
calling a block method, it has been removed in favor of just the code in
the block.
Copy link
Member

@lnguyen lnguyen left a comment

Choose a reason for hiding this comment

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

LGTM

@lnguyen lnguyen merged commit 70fcafb into main Feb 26, 2024
4 checks passed
@lnguyen lnguyen deleted the remove-em-from-dns-sync-#185264086 branch February 26, 2024 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

3 participants