Skip to content

Commit

Permalink
robot: don't log every stream info request
Browse files Browse the repository at this point in the history
For #29.
  • Loading branch information
zephyrtronium committed Oct 27, 2024
1 parent 174e7d3 commit 87610af
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions robot.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ func (robo *Robot) streamsLoop(ctx context.Context, channels *syncmap.Map[string
streams, err = twitch.UserStreams(ctx, robo.twitch, tok, streams)
switch {
case err == nil:
slog.InfoContext(ctx, "stream infos", slog.Int("count", len(streams)))
// Mark online streams as enabled.
// First map names to online status.
for _, s := range streams {
Expand Down Expand Up @@ -243,7 +242,6 @@ func (robo *Robot) streamsLoop(ctx context.Context, channels *syncmap.Map[string
streams, err = twitch.UserStreams(ctx, robo.twitch, tok, streams)
switch {
case err == nil:
slog.InfoContext(ctx, "stream infos", slog.Int("count", len(streams)))
// Mark online streams as enabled.
// First map names to online status.
for _, s := range streams {
Expand Down

0 comments on commit 87610af

Please sign in to comment.