Commit a39703bc authored by Pierre Dittgen's avatar Pierre Dittgen
Browse files

speed up siren info fetching

parent 2c80a336
...@@ -87,7 +87,7 @@ def main(): ...@@ -87,7 +87,7 @@ def main():
siren = line.strip() siren = line.strip()
if siren: if siren:
# delay to avoid 429 "Too many requests" # delay to avoid 429 "Too many requests"
time.sleep(1) time.sleep(0.2)
res = get_coords_by_siren(siren) res = get_coords_by_siren(siren)
if res['status'] == 'err': if res['status'] == 'err':
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment