SWF documentation suggests "Workers should set their client side socket timeout to at least 70 seconds (10 seconds higher than the maximum time service may hold the poll request)."
For the time being my works receive readtimeouts such as:
botocore.vendored.requests.packages.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='swf.eu-west-1.amazonaws.com', port=443): Read timed out. (read timeout=60)
I've already set
socket.setdefaulttimeout(70)
, but it doesn't seem to produce any effect. I see that DEFAULT_TIMEOUT is set to 60 on botocore enrpoint.py , but find no way to customize this in boto3. How can I move it to 70 to avoid readtimeouts on the long polls ?