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
queue.timeout
doesn't seem to work in AWS
#3354
Comments
## Description Finally closes #2114 !! 1. handled tests: * hidden: api/ delete, patch, option, get, put, post - #3342 * hidden: bucket/events - #2724 * hidden: queue/timeout - #3354 * fixed: counter/dec - there was a bug working with both key and initial key different than 0 * fixed: function/memory_and_env- adjusted test * fixed: function/timeout- adjusted test * fixed- table/add_row - the key wasn't saved in the object when adding a key on preflight on sim, fixed and adjusted test * fixed - website/website - adjusted test * fixed - util/env- adjusted test, since utils.env is working, it is just that the meta comments aren't followed when using the cli and not hangar 2. Run build to generate new snapshots 3. edited the compatibility matrix - leftover tests detected: #3358 ## Checklist - [x] Title matches [Winglang's style guide](https://www.winglang.io/contributing/start-here/pull_requests#how-are-pull-request-titles-formatted) - [x] Description explains motivation and solution - [x] Tests added (always) - [ ] Docs updated (only required for features) - [ ] Added `pr/e2e-full` label if this feature requires end-to-end testing *By submitting this pull request, I confirm that my contribution is made under the terms of the [Monada Contribution License](https://www.winglang.io/terms-and-policies/contribution-license.html)*.
@ekeren I am not sure it is the timeout issue, could be that approx size is not returning the accurate size. |
it could indeed be the approx size, (as it takes up to 1 minute to be updated) https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_GetQueueAttributes.html |
The
However, the |
I tried this:
Setting up a queue with a timeout,
inserting 2 messages that exceeded the timeout,
check what is the
approxSize
This happened:
The
approxSize
was different than 2I expected this:
Since timed-out messages should return to the queue the
approxSize
should be 2.Is there a workaround?
No response
Component
SDK
Wing Version
No response
Node.js Version
No response
Platform(s)
No response
Anything else?
No response
Community Notes
The text was updated successfully, but these errors were encountered: