-
Notifications
You must be signed in to change notification settings - Fork 339
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
No standoff on queue errors #273
Comments
Hello, Wondering if you're able to handle this somehow? Also seeing endless logging on an error such as when AWS region or queue URL is wrong. I reckon these are set-up errors that should be dealt with to get things working initially, but I'm worried that something changes in the set-up later on, then these error generation would consume log space and CPU. This may be behaviour for anything that triggers the "error" event. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
So AWS returns the code To note: We would still want to ping again as it's possible that the queue just isn't ready yet, such as in local testing or the service was launched before the queue was created. |
Describe the bug
If the queue does not actually exist, this error:
{"name":"SQSError","code":"AWS.SimpleQueueService.NonExistentQueue","statusCode":404,"retryable":false,"time":"2021-09-01T12:53:04.983Z"}
Is endless generated with no wait time in between retries. Not critical, but if errors are logged, it spams the logs/consumes a lot of resources attempting to retry immediately.
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
A clear and concise description of what you expected to happen.
There should be a standoff in between retries for any error involving the queue whatsoever.
screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here, such as specific device information.
The text was updated successfully, but these errors were encountered: