Right now, if the tick time for any particular tick exceeds a configured amount, the server will report itself as crashed. However, certain plugins, such as world modification plugins, might need over a minute to complete a contiguous operation. In cases like these, the server watchdog would halt the server even though the server didn't really crash. It's simply taking a while to perform an operation.
Therefore I think there should be a way for a plugin to feed the watchdog and indicate that the server is still healthy and should continue to run, despite there being no ticks.
What do you guys think? Is the use case strong enough for something of this level of (in)sanity?
Right now, if the tick time for any particular tick exceeds a configured amount, the server will report itself as crashed. However, certain plugins, such as world modification plugins, might need over a minute to complete a contiguous operation. In cases like these, the server watchdog would halt the server even though the server didn't really crash. It's simply taking a while to perform an operation.
Therefore I think there should be a way for a plugin to feed the watchdog and indicate that the server is still healthy and should continue to run, despite there being no ticks.
What do you guys think? Is the use case strong enough for something of this level of (in)sanity?