wowee
This commit is contained in:
parent
cf55a9e807
commit
2d1657a9a0
|
@ -28,6 +28,7 @@ def main():
|
||||||
while data is None:
|
while data is None:
|
||||||
logging.warning('Redis has not been populated yet. Is cache.py running? Sleeping 10s...')
|
logging.warning('Redis has not been populated yet. Is cache.py running? Sleeping 10s...')
|
||||||
time.sleep(10)
|
time.sleep(10)
|
||||||
|
data = redis.get('tecmap_data')
|
||||||
ionex_data = pickle.loads(data)
|
ionex_data = pickle.loads(data)
|
||||||
|
|
||||||
for tecmap, epoch in ionex_data:
|
for tecmap, epoch in ionex_data:
|
||||||
|
|
|
@ -66,6 +66,7 @@ def main():
|
||||||
while data is None:
|
while data is None:
|
||||||
logging.warning('Redis has not been populated yet. Is cache.py running? Sleeping 10s...')
|
logging.warning('Redis has not been populated yet. Is cache.py running? Sleeping 10s...')
|
||||||
time.sleep(10)
|
time.sleep(10)
|
||||||
|
data = redis.get('tecmap_data')
|
||||||
ionex_data = pickle.loads(data)
|
ionex_data = pickle.loads(data)
|
||||||
|
|
||||||
utc_hr = datetime.utcnow().hour
|
utc_hr = datetime.utcnow().hour
|
||||||
|
|
Loading…
Reference in New Issue