added some steam api logging
This commit is contained in:
@@ -450,6 +450,8 @@ func UpdatePlayerFromSteam(players []*ent.Player, db *ent.Client, apiKey string,
|
|||||||
idsToUpdate = append(idsToUpdate, updatePlayer.ID)
|
idsToUpdate = append(idsToUpdate, updatePlayer.ID)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log.Infof("[STEAM] Getting %d profiles from steam", len(idsToUpdate))
|
||||||
|
|
||||||
rl.Take()
|
rl.Take()
|
||||||
playerSum, err := steamapi.GetPlayerSummaries(idsToUpdate, apiKey)
|
playerSum, err := steamapi.GetPlayerSummaries(idsToUpdate, apiKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Reference in New Issue
Block a user