Closed MahmoudHamdy00 closed 2 years ago
Add 300ms delay between getCfUserInfo to avoid 503 Service Temporarily Unavailable when adding a lot of cf handles (+5) where codeforces API may be requested at most 1 time per two seconds
getCfUserInfo
503 Service Temporarily Unavailable
Reference: https://codeforces.com/apiHelp#:~:text=API%20may%20be%20requested%20at%20most%201%20time%20per%20two%20seconds
Note: It will also fail because 300ms is too small, but I think its the average to use around 10 handles
Thank you so much for fixing it, I will need to sometime to release it
Add 300ms delay between
getCfUserInfo
to avoid503 Service Temporarily Unavailable
when adding a lot of cf handles (+5) where codeforces API may be requested at most 1 time per two secondsReference: https://codeforces.com/apiHelp#:~:text=API%20may%20be%20requested%20at%20most%201%20time%20per%20two%20seconds
Note: It will also fail because 300ms is too small, but I think its the average to use around 10 handles