mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-16 05:41:13 +08:00
added comments, optimized memory
This commit is contained in:
@@ -89,6 +89,7 @@ func getCurrentDB() map[string]interface{} {
|
||||
}
|
||||
}
|
||||
|
||||
// InitializeDatabase - initializes database
|
||||
func InitializeDatabase() error {
|
||||
logger.Log(0, "connecting to", servercfg.GetDB())
|
||||
tperiod := time.Now().Add(10 * time.Second)
|
||||
|
Reference in New Issue
Block a user