- PHP 手册
- 函数参考
- 搜索引擎扩展
- Sphinx
- SphinxClient
SphinxClient::setConnectTimeout
(PECL sphinx >= 0.1.0)
SphinxClient::setConnectTimeout — Set connection timeout
说明
public SphinxClient::setConnectTimeout ( float$timeout
) : bool
Sets connection timeout (in seconds) for searchd connection.
参数
-
timeout
-
Timeout in seconds.
返回值
成功时返回 TRUE
, 或者在失败时返回 FALSE
。
参见
- SphinxClient::setMaxQueryTime
User Contributed Notes
There are no user contributed notes for this page.官方地址:https://www.php.net/manual/en/sphinxclient.setconnecttimeout.php