Latency is based on the inclusion of two environment variables
(GOAWS_RANDOM_LATENCY_MIN and GOAWS_RANDOM_LATENCY_MAX), which, if set
will prevent messages from being released from the queue until after a
period of random, simulated latency has elapsed.
The purpose of this change is to aid in local testing against AWS when
SQS latency is expected and needs to be developed against.
Latency is based on the inclusion of two environment variables (
GOAWS_RANDOM_LATENCY_MIN
andGOAWS_RANDOM_LATENCY_MAX
), which, if set will prevent messages from being released from the queue until after a period of random, simulated latency has elapsed.The purpose of this change is to aid in local testing against AWS when SQS latency is expected and needs to be developed against.