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

Refactor fetcher, polling strategy and manager #284

Merged
merged 11 commits into from
Dec 13, 2016

Conversation

mariokostelac
Copy link
Contributor

Continuation of #236

gshutler and others added 10 commits December 13, 2016 18:48
In order to be able to customize the order and manner in which Shoryuken
polls SQS queues, the previous hard-coded strategy was extracted into a
separate class.

This meant that some of the method names were altered to be more generic
(for example rebalance_queue_weight! became messages_received),
otherwise this was a direct extraction.
Mock "receive" calls appear to use a stronger interpretation of
equality.

Also altered assertions around raised errors to suppress new warnings.
@mariokostelac
Copy link
Contributor Author

I think it makes sense to merge it now, especially because @atyndall from #263 battle-tested it!

@mariokostelac
Copy link
Contributor Author

Also, I've tested killing the process with #286 and it seem to be working quite well.

@atyndall
Copy link
Contributor

atyndall commented Dec 13, 2016

I can confirm that my branch (which includes these changes AFAIK) has been running successfully in production on 100+ nodes since the end of October.

@phstc phstc merged commit e83a68b into ruby-shoryuken:master Dec 13, 2016
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.

4 participants