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

Implements https://github.com/rsiemens/squids/issues/1 #2

Merged
merged 5 commits into from
Dec 22, 2022
Merged

Conversation

rsiemens
Copy link
Owner

@rsiemens rsiemens commented Nov 25, 2022

Implements #1

@rsiemens rsiemens force-pushed the issue-1 branch 2 times, most recently from 40190e7 to edb6946 Compare November 27, 2022 03:48
squids/core.py Outdated Show resolved Hide resolved
squids/core.py Outdated Show resolved Hide resolved
if len(self.queues) > 1:
target_queues = self.routing_strategy(self.queues, body)
else:
target_queues = self.queues
Copy link
Owner Author

Choose a reason for hiding this comment

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

ensure target_queues is a valid subset of self.queues.

squids/core.py Outdated Show resolved Hide resolved
squids/core.py Show resolved Hide resolved
squids/core.py Show resolved Hide resolved
tests/test_core.py Show resolved Hide resolved
@rsiemens rsiemens merged commit d650b30 into main Dec 22, 2022
@rsiemens rsiemens deleted the issue-1 branch December 22, 2022 18:56
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.

None yet

1 participant