From 546cf02e15607245a4ac0db0c24832bd41e7b245 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Sat, 27 Apr 2024 21:37:43 +0100 Subject: [PATCH] Disable timetable functions for migration to timetable-mgr --- src/main.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main.py b/src/main.py index 8f81c0e..681f463 100644 --- a/src/main.py +++ b/src/main.py @@ -39,7 +39,8 @@ while dbReady is False: dbReady = False ## Run CORPUS Update -status = corpus.runUpdate() +## Disabled for migration to timetable-mgr +#status = corpus.runUpdate() ## Run PIS Update pis.runUpdate() @@ -48,7 +49,8 @@ pis.runUpdate() reasonCodes.runUpdate() ## Run Timetable Update -timetable.runUpdate() +## Disabled for migration to timetable-mgr +#timetable.runUpdate() ## Create general indexes log.out('main.py: Requesting TTL Index Creation', "INFO") @@ -64,7 +66,7 @@ except Exception as e: mongo.dropCollection("registrations") mongo.createTtlIndex("registrations", "time", registrations_ttl_seconds) -log.out(f"Indexes for 'registrations': {list(mongo.listIndexes('registrations'))}") +#log.out(f"Indexes for 'registrations': {list(mongo.listIndexes('registrations'))}") # Push version number to database for reporting mongo.putVersion(version)