added comments, optimized memory

This commit is contained in:
0xdcarns
2021-12-10 15:01:10 -05:00
parent 85e8c0abb6
commit e45a485bce
17 changed files with 136 additions and 152 deletions
+4 -3
View File
@@ -77,9 +77,10 @@ func HandleContainedClient() error {
logger.Log(3, "completed peers check of network", serverNet.NetID)
}
}
err := SyncNetworks(servernets[:])
if err != nil {
logger.Log(1, "error syncing networks:", err.Error())
syncErr := SyncNetworks(servernets[:])
if syncErr != nil {
logger.Log(1, "error syncing networks:", syncErr.Error())
syncErr = nil
}
// logger.Log("completed a checkin call", 3)
}