Pequeños refactorings.

This commit is contained in:
pablomartincalvo 2019-01-07 18:09:52 +01:00
parent 227f298d8b
commit 5ec97ad008
2 changed files with 7 additions and 4 deletions

View file

@ -5,6 +5,7 @@ from time import sleep
from db_layer.capturas_interface import capturas_interface
from core.config import google_api_key, geocoder_delay
class Geocoder:
def __init__(self):
@ -74,7 +75,7 @@ class Geocoder:
class GeocodingCache:
cache_max_size = 1000
cache_max_size = 2000
def __init__(self):
self.geocoded_addresses = []