diff --git a/Procfile b/Procfile index 815c2aa..f9a0faf 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: gunicorn --bind 0.0.0.0:$PORT --workers=2 wsgi:app \ No newline at end of file +web: gunicorn --bind 0.0.0.0:$PORT wsgi:app \ No newline at end of file diff --git a/src/bot.py b/src/bot.py index 91536b6..1a80413 100644 --- a/src/bot.py +++ b/src/bot.py @@ -12,7 +12,7 @@ bot = telebot.TeleBot(os.getenv("TELEGRAM_TOKEN")) bot.remove_webhook() -time.sleep(0.1) +time.sleep(3) # configure the webhook for the bot bot.set_webhook( "https://{}.herokuapp.com/{}".format(