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

Negative delay seconds are passed to the DelaySeconds parameter when setting a 0-second delay. #106

Closed
kyto64 opened this issue Dec 12, 2023 · 0 comments · Fixed by #107
Closed

Comments

@kyto64
Copy link
Contributor

kyto64 commented Dec 12, 2023

$ MyJob.set(wait: 0).perform_later
=> send_message(delay_seconds:-1,...)
::Failed to queue job #< MyJob:00000xxxxxx>. Reason: Value -1 for parameter DelaySeconds is invalid. DelaySeconds must be >= 0 and <= 900

I would submit PR later.

kyto64 pushed a commit to kyto64/aws-sdk-rails that referenced this issue Dec 12, 2023
kyto64 pushed a commit to kyto64/aws-sdk-rails that referenced this issue Dec 12, 2023
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 a pull request may close this issue.

1 participant