Function TRITONSERVER_ServerOptionsSetExitTimeout

Function Documentation

TRITONSERVER_Error *TRITONSERVER_ServerOptionsSetExitTimeout(TRITONSERVER_ServerOptions *options, unsigned int timeout)

Set the exit timeout, in seconds, for the server in a server options.

Return

a TRITONSERVER_Error indicating success or failure.

Parameters
  • options: The server options object.

  • timeout: The exit timeout, in seconds.