Working with visibility timeouts in Amazon SQS
For optimal performance, set the visibility timeout to be larger than the Amazon
SDK read timeout. This applies to using the ReceiveMessage
API action
with either short polling or long polling.