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)