Skip to content

Commit

Permalink
Update number of workers
Browse files Browse the repository at this point in the history
  • Loading branch information
moziliar committed Feb 19, 2020
1 parent 0c2665a commit 4b27d77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
def main():
"""Start the bot."""
# Set use_context=True to use the new context based callbacks
updater = Updater(token=os.getenv('RC_DINING_BOT_TOKEN'), use_context=True)
updater = Updater(token=os.getenv('RC_DINING_BOT_TOKEN'), use_context=True, workers=32)

# Get the dispatcher to
dispatcher = updater.dispatcher
Expand Down

0 comments on commit 4b27d77

Please sign in to comment.