box.ctl.set_on_shutdown_timeout() | Tarantool
Документация на русском языке
поддерживается сообществом

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.

Параметры:
  • timeout (double) – time to wait for the trigger to be completed. The default value is 3 seconds.
Return:

nil

Нашли ответ на свой вопрос?
Обратная связь