diff options
| author | fusion32 <marcopuzziello@gmail.com> | 2025-08-08 14:05:38 -0300 |
|---|---|---|
| committer | fusion32 <marcopuzziello@gmail.com> | 2025-08-08 14:05:38 -0300 |
| commit | 326793ad5e585e00719252c2bb02bfcd94d518a8 (patch) | |
| tree | 51ad91a379e11fd57d3248f94fdd9e0b317e15c2 /main.go | |
| parent | d84651a899a6104fce73d95b9c571627c55e5d16 (diff) | |
| download | web-326793ad5e585e00719252c2bb02bfcd94d518a8.tar.gz web-326793ad5e585e00719252c2bb02bfcd94d518a8.zip | |
refresh account character data
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -98,6 +98,10 @@ func WebKVCallback(Key string, Value string) { g_QueryManagerPort = ParseInteger(Value) } else if strings.EqualFold(Key, "QueryManagerPassword") { g_QueryManagerPassword = ParseString(Value) + } else if strings.EqualFold(Key, "MaxCachedAccounts") { + g_MaxCachedAccounts = ParseInteger(Value) + } else if strings.EqualFold(Key, "MaxCachedCharacters") { + g_MaxCachedCharacters = ParseInteger(Value) } else if strings.EqualFold(Key, "CharacterRefreshInterval") { g_CharacterRefreshInterval = ParseDuration(Value) } else if strings.EqualFold(Key, "WorldsRefreshInterval") { @@ -106,10 +110,6 @@ func WebKVCallback(Key string, Value string) { g_OnlineCharactersRefreshInterval = ParseDuration(Value) } else if strings.EqualFold(Key, "KillStatisticsRefreshInterval") { g_KillStatisticsRefreshInterval = ParseDuration(Value) - } else if strings.EqualFold(Key, "MaxCachedAccounts") { - g_MaxCachedAccounts = ParseInteger(Value) - } else if strings.EqualFold(Key, "MaxCachedCharacters") { - g_MaxCachedCharacters = ParseInteger(Value) } else { g_LogWarn.Printf("Unknown config \"%v\"", Key) } |
