run commands in ThreadPool

This commit is contained in:
2023-04-08 14:49:46 +03:00
parent 3ea5b0c1ee
commit 031a7fade7
8 changed files with 74 additions and 57 deletions

View File

@@ -1,14 +1,17 @@
TELEGRAM_API_TOKEN=
TELEGRAM_API_TOKEN="123456789:AABBCCDDEEFFaabbccddeeff-1234567890"
# webhook settings
WEBHOOK_HOST=
WEBHOOK_PATH=
WEBHOOK_HOST="https://mydomain.com"
WEBHOOK_PATH="/transport"
# webserver settings
WEBAPP_HOST=127.0.0.1
WEBAPP_PORT=8084
WEBAPP_HOST="127.0.0.1"
WEBAPP_PORT="8080"
# set to 1 to start with webhook. Else bot will start on polling method
START_WITH_WEBHOOK=
# set to true to start with webhook. Else bot will start on polling method
START_WITH_WEBHOOK="true"
GECKO_DRIVER_VERSION=0.31.0
GECKO_DRIVER_VERSION="0.32.0"
# chat ids for scheduler tasks
CHAT_IDS="123456789,987654321"