a1294790523 发表于 2019-6-17 10:26
改的是timeout这个值啊。。
或者是time-out
我想知道这个timeout是什么意思能不能解释一下啊
2681024486 发表于 2019-6-17 10:52
我想知道这个timeout是什么意思能不能解释一下啊
https://www.spigotmc.org/wiki/spigot-configuration/
- timeout-time
- Default: 60
- Type: Integer
- Description: How long - in seconds - the server should go unresponsive before performing a thread dump in the console and, if configured, attempt to shut down and restart.
- restart-on-crash
- Default: true
- Type: Boolean
- Description: Controls whether or not the server will automatically attempt to restart your server when a crash occurs
就是设置服务器未响应的时间,但服务器超过xx秒未响应,就会dump线程信息,并在已配置未响应重启的情况下(推测是restart-on-crash选项)重启服务器