laikad: use new cache param (#27404)

* add backward compatibility

* rename laikad cache file

* rm and update

---------

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6b4ac801e7ecb1addf74c9018958469741b609a3
This commit is contained in:
Kurt Nistelberger
2023-02-22 14:11:04 -08:00
committed by GitHub
parent 59ff270456
commit 1a97edf8d2
5 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ ALT_DELTA = 30
MATCH_NUM = 10
REPORT_STATS = 10
EPHEM_CACHE = "/data/params/d/LaikadEphemeris"
EPHEM_CACHE = "/data/params/d/LaikadEphemerisV2"
DOWNLOAD_CACHE = "/tmp/comma_download_cache"
SERVER_LOG_FILE = "/tmp/fuzzy_server.log"
+1 -1
View File
@@ -39,7 +39,7 @@ class TestLaikad(unittest.TestCase):
def setUp(self):
# ensure laikad cold start
Params().remove("LaikadEphemeris")
Params().remove("LaikadEphemerisV2")
os.environ["LAIKAD_NO_INTERNET"] = "1"
managed_processes['laikad'].start()