# cubrid_set_query_timeout

(PECL CUBRID >= 8.4.1)

cubrid_set_query_timeout — Set the timeout time of query execution

### 说明

cubrid_set_query_timeout ( resource `$req_identifier` , int `$timeout` ) : bool

The cubrid_set_query_timeout() function is used to set the timeout time of query execution.

### 参数

`req_identifier`

  Request identifier.

`timeout`

  Timeout time, unit of msec.

### 返回值

`TRUE`, when process is successful.

`FALSE`, when process is unsuccessful.

### 参见

- cubrid_get_query_timeout() - Get the query timeout value of the request