This commit is contained in:
stefanodvx 2025-04-15 18:45:08 +02:00
parent ba77cc0e28
commit e9db655733
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ DB_PASSWORD=password
BOT_API_URL=https://api.telegram.org BOT_API_URL=https://api.telegram.org
BOT_TOKEN=12345678:ABC-DEF1234ghIkl-zyx57W2P0s BOT_TOKEN=12345678:ABC-DEF1234ghIkl-zyx57W2P0s
CONCURRENT_UPDATES=-1 CONCURRENT_UPDATES=-1
LOG_ERRORS=0 LOG_DISPATCHER_ERRORS=0
# downloads # downloads
DOWNLOADS_DIR=downloads DOWNLOADS_DIR=downloads

View file

@ -41,7 +41,7 @@ func Start() {
} }
logDispatcherErrors, err := strconv.ParseBool(os.Getenv("LOG_DISPATCHER_ERRORS")) logDispatcherErrors, err := strconv.ParseBool(os.Getenv("LOG_DISPATCHER_ERRORS"))
if err != nil { if err != nil {
log.Println("failed to parse LOG_ERRORS env, using false") log.Println("failed to parse LOG_DISPATCHER_ERRORS env, using false")
logDispatcherErrors = false logDispatcherErrors = false
} }
dispatcher := ext.NewDispatcher(&ext.DispatcherOpts{ dispatcher := ext.NewDispatcher(&ext.DispatcherOpts{