无谓狗蛋
如图,authme已接入数据库,每当玩家退出,后台便会弹出该报错

strings
调低 authme 配置文件中的

    # The maximum lifetime of a connection in the pool, default = 1800 seconds
    # You should set this at least 30 seconds less than mysql server wait_timeout
    maxLifetime: 1800


无谓狗蛋
もぺもぺ 发表于 2021-7-13 20:28
调低 authme 配置文件中的

    # The maximum lifetime of a connection in the pool, default = 1800 sec ...

这个实际作用是什么呢请问,调低会对服务器造成什么影响呀

strings
无谓狗蛋 发表于 2021-7-13 20:42
这个实际作用是什么呢请问,调低会对服务器造成什么影响呀

数据库连接池中,连接的保存时间。

一般的插件是查询一次创建一个连接,而连接池会保存这个连接,下次连接继续使用。

调低只会轻微的影响性能,几乎可以忽略不记。