Contents Previous Next Subchapters

Setting the O-Matrix Server Timeout Period
Syntax status = OMServer.timeout(timeoutPeriod)
See Also open

Will set the timeout period that the O-Matrix server will process requests. The argument timeoutPeriod must be a non-negative integer that represents the O-Matrix server timeout period in milliseconds. By default, if O-Matrix is busy when an O-Matrix server function is executed the O-Matrix COM server will continue to attempt the request for up to 300 milliseconds and then exit the function with a timeout error. Use this function to set the timeout period to a higher value when executing long-running O-Matrix operations.

Setting the timeoutPeriod value to 0 will cause requests to be repeated indefinitely.

The returned value status is an integer OM Server Status code. This value will equal 1 if this function succeeded.