Commit 72cfd150 authored by Landon DeCoito's avatar Landon DeCoito

added update_both_dbs() call to __init__ to make sure the cache is refreshed...

added update_both_dbs() call to __init__ to make sure the cache is refreshed when the server is set up
parent de2af576
......@@ -45,6 +45,9 @@ def get_last_update():
return resp
# make sure the cacheing is set up on init
update_both_dbs()
try:
thread.start_new_thread(run_schedule_loop, ())
print "started thread!"
......
Markdown is supported
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