2681024486
a1294790523 发表于 2019-6-17 10:26
改的是timeout这个值啊。。
或者是time-out

我想知道这个timeout是什么意思能不能解释一下啊

a1294790523
2681024486 发表于 2019-6-17 10:52
我想知道这个timeout是什么意思能不能解释一下啊

https://www.spigotmc.org/wiki/spigot-configuration/
  1. timeout-time
  2. Default: 60
  3. Type: Integer
  4. 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.
  5. restart-on-crash
  6. Default: true
  7. Type: Boolean
  8. Description: Controls whether or not the server will automatically attempt to restart your server when a crash occurs
复制代码

就是设置服务器未响应的时间,但服务器超过xx秒未响应,就会dump线程信息,并在已配置未响应重启的情况下(推测是restart-on-crash选项)重启服务器

第一页 上一页 下一页 最后一页