Transferido el espaciado entre intentos a la memoria de python en lugar

de a una comprobacion de base de datos.
Ajustado algunos tiempos.
This commit is contained in:
pablomartincalvo 2018-12-04 21:02:30 +01:00
parent eeb8672f0d
commit 5aba6309f0
2 changed files with 18 additions and 6 deletions

View file

@ -25,6 +25,6 @@ working_hours = {'start': datetime.time(9, 0, 0),
'end': datetime.time(21, 0, 0)}
monthly_new_ads_target = 1200
google_api_key = 'AIzaSyCnKj0WnsxVZcaoxeAYkuRw3cKRNGiISYA'
minimum_seconds_between_tries = 45
geocoder_delay = 30
minimum_seconds_between_tries = 60
geocoder_delay = 10
refresher_delay = 10