This commit is contained in:
Cyberes 2024-09-03 17:21:14 -06:00
parent cf55a9e807
commit 2d1657a9a0
2 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,7 @@ def main():
while data is None:
logging.warning('Redis has not been populated yet. Is cache.py running? Sleeping 10s...')
time.sleep(10)
data = redis.get('tecmap_data')
ionex_data = pickle.loads(data)
for tecmap, epoch in ionex_data:

View File

@ -66,6 +66,7 @@ def main():
while data is None:
logging.warning('Redis has not been populated yet. Is cache.py running? Sleeping 10s...')
time.sleep(10)
data = redis.get('tecmap_data')
ionex_data = pickle.loads(data)
utc_hr = datetime.utcnow().hour