©
This document uses PHP Chinese website manual Release
(PECL sphinx >= 0.1.0)
SphinxClient::setConnectTimeout — Set connection timeout
$timeout
)Sets connection timeout (in seconds) for searchd connection.
timeout
Timeout in seconds.
成功时返回 TRUE
, 或者在失败时返回 FALSE
。