Skip to content

Commit

Permalink
Fix HTTPX problem
Browse files Browse the repository at this point in the history
  • Loading branch information
karfly authored Jun 20, 2023
1 parent a8c1e21 commit 28e7426
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bot/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -665,6 +665,8 @@ def run_bot() -> None:
.token(config.telegram_token)
.concurrent_updates(True)
.rate_limiter(AIORateLimiter(max_retries=5))
.http_version("1.1")
.get_updates_http_version("1.1")
.post_init(post_init)
.build()
)
Expand Down

1 comment on commit 28e7426

@bigbabybubble
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In Version 20.3: Revert to HTTP/1.1 as Default and make HTTP/2 an Optional Dependency (#3576)

Please sign in to comment.