Optimise start-up and shut-down

This commit is contained in:
Fred Boniface
2024-04-14 20:00:34 +01:00
parent 91fd38104c
commit 992005cc97
4 changed files with 51 additions and 9 deletions

View File

@@ -36,7 +36,7 @@ func InitDataAccess(cfg *helpers.Configuration) {
fmt.Println(err)
log.Fatal("Error connecting to database: " + err.Error())
} else {
log.Info("Database connection successful")
log.Info("Database connection initialising")
}
MongoClient = client
}