I have tested the code below and it does not retry in my console but work in online compiler like Replit https://replit.com/join/yeyleavl-jasonv4
As you can see,in the REPlit compiler when the script run, it takes sometimes to test an URL (the URL is consistently fail with 503) which is correct. However, in PAW, it straight away fail no matter I increase the retry to a larger number or increase the backoff factor which is not desirable. Please check and you can access my testurl.py to test it.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
|