Skip to content

Commit

Permalink
chore: Add concurrent_updates to application build
Browse files Browse the repository at this point in the history
  • Loading branch information
tjtanjin committed Jan 23, 2024
1 parent e4e15d7 commit 3d4761c
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 @@ -17,7 +17,7 @@ def main():
Handles the initial launch of the program (entry point).
"""
token = os.getenv("BOT_TOKEN")
application = Application.builder().token(token).read_timeout(30).write_timeout(30).build()
application = Application.builder().token(token).concurrent_updates(True).read_timeout(30).write_timeout(30).build()
load_interactions(application)
print("Simple Media Converter instance started!")
application.run_polling()
Expand Down

0 comments on commit 3d4761c

Please sign in to comment.