Open Ayman-Sage opened 2 years ago
@Ayman-Sage Hm - I need to dig a little deeper on this, but I think that's probably just a relic of initializing that variable with 0 and assuming that means it wasn't overwritten. I'll think about this - since I think you're right, you should have the ability to "receive it NOW".
we just came across this issue when trying to set waitTimeSeconds to 0 which means don't do "long polling" and just look now without waiting.. but in the code it is always being set to default if it was passed as 0... is this intentional?
https://github.com/p4tin/goaws/blob/ba73e9b3195a592346488cab2dcaf61807605184/app/gosqs/gosqs.go#L412