Adjusted full-calc statistics. Use new infantry skill algorithm.
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 7s
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 7s
This commit is contained in:
@@ -112,7 +112,7 @@ func UpdateCacheAfterExpiry(key string) {
|
||||
}
|
||||
|
||||
if player.Clan.KeepUpdated {
|
||||
score, statusCode := GetPlayerScore(player.Name)
|
||||
score, statusCode := GetPlayerScoreNew(player.Name)
|
||||
if score == score && score != -1 { // not NaN
|
||||
if err := models.PlayerCache.SetScore(player.ID, score); err != nil {
|
||||
utils.Logger.Warnf("[KeepUpdated] Failed to update cache for player %s! Error: %s", player.Name, err.Error())
|
||||
|
||||
Reference in New Issue
Block a user