Skip to content

Commit

Permalink
chore(api): adjust timeout for stats requests
Browse files Browse the repository at this point in the history
  • Loading branch information
Satont committed Dec 3, 2023
1 parent 6ae1420 commit ab4a5e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/internal/impl_unprotected/stats/stats.go
Original file line number Diff line number Diff line change
@@ -170,7 +170,7 @@ func (c *Stats) cacheStreamers() {
func() {
userTwitchClientCtx, userTwitchClientCtxCancel := context.WithTimeout(
context.Background(),
500*time.Millisecond,
5*time.Second,
)
defer userTwitchClientCtxCancel()
userTwitchClient, err := twitch.NewUserClientWithContext(

0 comments on commit ab4a5e9

Please sign in to comment.