mrthuanvn / wot-xvm

Automatically exported from code.google.com/p/wot-xvm
GNU General Public License v3.0
0 stars 0 forks source link

When loading battle don't loading statistic #640

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
when python script send one request to the statistic server and server answer 
503 error, script don't trying again, but after few seconds server return 
normal answer with status 200. In link file with diff in stats.py for fix this 
error

http://dropmefiles.com/nSMF1

Original issue reported on code.google.com by ad...@oweb.com.ua on 22 Jan 2014 at 5:21

GoogleCodeExporter commented 9 years ago
>script don't trying again
because server is overloaded with requests, lol

Original comment by mr.a.on...@gmail.com on 22 Jan 2014 at 5:28

GoogleCodeExporter commented 9 years ago
yes server is overloaded, but if try again after one second server will answer 
normally. I added a few attempts to get statistic and on second request the 
server answer normally.

Original comment by ad...@oweb.com.ua on 22 Jan 2014 at 5:36