box.ctl.set_on_shutdown_timeout()
-
box.ctl.
set_on_shutdown_timeout
([timeout])¶ Set a timeout for the on_shutdown trigger. If the timeout has expired, the server stops immediately regardless of whether any
on_shutdown
triggers are left unexecuted.Parameters: - timeout (
double
) – time to wait for the trigger to be completed. The default value is 3 seconds.
Return: nil
- timeout (