added some steam api logging

This commit is contained in:
2021-10-19 03:04:21 +02:00
parent a5de6d6584
commit 3520ed54cc

View File

@@ -450,6 +450,8 @@ func UpdatePlayerFromSteam(players []*ent.Player, db *ent.Client, apiKey string,
idsToUpdate = append(idsToUpdate, updatePlayer.ID)
}
log.Infof("[STEAM] Getting %d profiles from steam", len(idsToUpdate))
rl.Take()
playerSum, err := steamapi.GetPlayerSummaries(idsToUpdate, apiKey)
if err != nil {