chore: format logs

This commit is contained in:
JustSong
2023-06-22 10:59:01 +08:00
parent b86de464b5
commit 00151a0124
13 changed files with 36 additions and 34 deletions

View File

@@ -75,7 +75,7 @@ func loadOptionsFromDatabase() {
for _, option := range options {
err := updateOptionMap(option.Key, option.Value)
if err != nil {
common.SysError("Failed to update option map: " + err.Error())
common.SysError("failed to update option map: " + err.Error())
}
}
}
@@ -83,7 +83,7 @@ func loadOptionsFromDatabase() {
func SyncOptions(frequency int) {
for {
time.Sleep(time.Duration(frequency) * time.Second)
common.SysLog("Syncing options from database")
common.SysLog("syncing options from database")
loadOptionsFromDatabase()
}
}