MCPcopy Create free account
hub / github.com/cc20110101/RedisView / setTimeOutMs

Method setTimeOutMs

src/RedisView/RedisLib/RedisClient.cpp:114–117  ·  view source on GitHub ↗

* 设置执行命令等待结果超时时间 * @param[in] iTimeOutMs 毫秒超时时间,0阻塞 * @return * @see * @note */

Source from the content-addressed store, hash-verified

112 * @note
113 */
114void RedisClient::setTimeOutMs(int iTimeOutMs) {
115 _iTimeOut = iTimeOutMs;
116 _qTimer.setInterval(_iTimeOut);
117}
118
119/**
120 * 获取执行命令等待结果超时时间

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected