Skip to content

Commit

Permalink
Handle "context deadline exceeded" GQL error
Browse files Browse the repository at this point in the history
  • Loading branch information
DevilXD committed Oct 12, 2023
1 parent 2dd7a57 commit fc1f3ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions twitch.py
Original file line number Diff line number Diff line change
Expand Up @@ -1540,6 +1540,7 @@ async def gql_request(
"service error",
"service unavailable",
"service timeout",
"context deadline exceeded",
)
):
force_retry = True
Expand Down

0 comments on commit fc1f3ed

Please sign in to comment.