Skip to content
This repository was archived by the owner on Jan 1, 2025. It is now read-only.

Commit

Permalink
chore: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lumina37 committed Aug 31, 2024
1 parent 5855e2c commit c219ef4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/tutorial/cmd_handler_dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ host = "127.0.0.1"
port = 3306
user = "" # 填用户名
password = "" # 填密码
db = "aiotieba" # 使用的数据库名,不填则默认为aiotieba
unix_socket = "/var/lib/mysql/mysql.sock" # 用于优化linux系统的本机连接速度,看不懂就不用填
pool_recycle = 3600 # 填连接超时的秒数,需要与服务端保持一致,不填则默认为28800秒
database = "aiotieba" # 使用的数据库名,不填则默认为aiotieba
max_inactive_connection_lifetime = 3600 # 填连接超时的秒数,建议与服务端保持一致,不填则默认为28800秒
ssl_cafile = "/path/to/your/cacert.file" # 用于加密连接的CA证书的路径
```

Expand Down Expand Up @@ -54,4 +53,4 @@ mv examples/cmd_handler.py .

```shell
nohup python -OO cmd_handler.py >/dev/null 2>&1 &
```
```

0 comments on commit c219ef4

Please sign in to comment.