Description. Normally, network operations time out after 60 seconds. This function permits you to vary this time.
The timeout set by this function applies not only to establishing network connections, but to every operation requiring communication using a network connection. This includes each network read or write performed by any MGM API function, NDB API method call, or ndb_mgm client command.
This function was introduced in MySQL 5.1.18.
int ndb_mgm_set_timeout ( NdbMgmHandle
handle, unsigned int
Parameters. This function takes two parameters:
A management server handle
An amount of time to wait before timing out, expressed in milliseconds.
0 on success, with any other
value representing failure.