SearchingReddit icon indicating copy to clipboard operation
SearchingReddit copied to clipboard

Edited request.get to wait indefinitely

Open CheoR opened this issue 11 years ago • 2 comments

Requests should now wait indefinitely.

CheoR avatar Jan 17 '15 03:01 CheoR

Are you sure it is good idea to wait that long? Maybe it is better to wait for something like 30-45 seconds?

eleweek avatar Jan 17 '15 15:01 eleweek

Maybe chaning it to 30 seconds would be better, as per the requests website:

It’s a good practice to set connect timeouts to slightly larger than a multiple of 3, which is the default TCP packet retransmission window.

CheoR avatar Jan 17 '15 17:01 CheoR