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

Issue #18 #19

Merged
merged 4 commits into from
Mar 2, 2018
Merged

Issue #18 #19

merged 4 commits into from
Mar 2, 2018

Conversation

ajacksms
Copy link
Contributor

@ajacksms ajacksms commented Mar 1, 2018

see #18

Proposed change to ensure that the 'DelaySeconds' value passed to SQS is always valid.

Rebus is MIT-licensed. The code submitted in this pull request needs to carry the MIT license too. By leaving this text in, I hereby acknowledge that the code submitted in the pull request has the MIT license and can be merged with the Rebus codebase.

Issue rebus-org#18 - Messages that have exhausted the retry count are being given an invalid delay value when passed to SQS

Altered the GetDelaySeconds method so that when the deferreduntil method is in the past, the message is passed to SQS with zero delay.
Added new test to verify result.
@CLAassistant
Copy link

CLAassistant commented Mar 1, 2018

CLA assistant check
All committers have signed the CLA.

@mookid8000 mookid8000 merged commit 72a5b15 into rebus-org:master Mar 2, 2018
@mookid8000
Copy link
Member

Excellent 👍 this is too easy 😁

@mookid8000
Copy link
Member

it's available in Rebus.AmazonSQS 4.1.1 on NuGet.org in few minutes – thanks 👍

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