Skip to content

Commit

Permalink
added extended read and write timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Qwor01 committed Nov 13, 2024
1 parent 4c23fcd commit 9095cb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def main():
load_dotenv()

# Create an updater object with your bot's token
application = ApplicationBuilder().token(get_bot_token()).build()
application = ApplicationBuilder().token(get_bot_token()).read_timeout(60).write_timeout(60).build()

logger.info("Application built", token=get_bot_token())

Expand Down

0 comments on commit 9095cb3

Please sign in to comment.