From 3520ed54cc3eec9a06669cfeb9b0fbe9852ea2dd Mon Sep 17 00:00:00 2001 From: Giovanni Harting <539@idlegandalf.com> Date: Tue, 19 Oct 2021 03:04:21 +0200 Subject: [PATCH] added some steam api logging --- utils/utils.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/utils.go b/utils/utils.go index fa45248..540ea59 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -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 {