From 6ece94b12954fe7d3654f7e82aed49016b92e721 Mon Sep 17 00:00:00 2001 From: Ian Andwati Date: Sun, 15 May 2022 19:56:13 +0300 Subject: [PATCH] Empty commit --- Procfile | 2 +- src/bot.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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(