Closed wumpus closed 8 years ago
IA sends 503s if their servers are overloaded. If I understand your code correctly, you'll continue rapidly sending requests in that case. Better to sleep for a second. It's probably an even better idea to do the sleep for any 5xx return code.
Thanks, @wumpus!
IA sends 503s if their servers are overloaded. If I understand your code correctly, you'll continue rapidly sending requests in that case. Better to sleep for a second. It's probably an even better idea to do the sleep for any 5xx return code.