Skip to content

Commit

Permalink
Merge branch 'master' of git.kawen.site:Lili/tlapbot
Browse files Browse the repository at this point in the history
  • Loading branch information
SleepyLili committed Nov 29, 2022
2 parents 2c405d5 + b5c3a3c commit 5838f15
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,10 @@ gunicorn -w 1 'tlapbot:create_app()'
You should also set `GUNICORN` in your `config.py` file to `True` to see Tlapbot logs in your gunicorn output. By default, gunicorn will only show `error` and `critical` warnings, but you can set the `--log-level` argument when running the app to set it to `warning`, `debug` or `info` too.
```bash
gunicorn -w 1 --log-level debug 'tlapbot:create_app()'
```
**⚠️WARNING:** Because of the way the scheduler is initialized in the project,
I recommend running tlapbot with only one gunicorn worker. (`-w 1`)
Expand Down

0 comments on commit 5838f15

Please sign in to comment.