Skip to content

Use match-case instead of gigantic if-elif statement when handling zmq messages in master-worker communication#3299

Merged
cyberw merged 1 commit intomasterfrom
use-match-case-instead-of-elif-for-zmq-message-processing
Nov 28, 2025
Merged

Use match-case instead of gigantic if-elif statement when handling zmq messages in master-worker communication#3299
cyberw merged 1 commit intomasterfrom
use-match-case-instead-of-elif-for-zmq-message-processing

Conversation

@cyberw
Copy link
Copy Markdown
Collaborator

@cyberw cyberw commented Nov 28, 2025

Also separate the receive loop from the actual handling while we're at it, which minimizes the diff nicely.

…q messages in master-worker communication. Also separate the receive loop from the actual handling while we're at it, which minimizes the diff nicely.
@cyberw cyberw force-pushed the use-match-case-instead-of-elif-for-zmq-message-processing branch from 8ef5c5f to 850d5eb Compare November 28, 2025 17:08
@cyberw cyberw merged commit dbdf85e into master Nov 28, 2025
18 checks passed
@cyberw cyberw deleted the use-match-case-instead-of-elif-for-zmq-message-processing branch November 28, 2025 17:55
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