运行时配置
这些函数的行为受 php.ini 中的设置影响。
名字 | 默认 | 可修改范围 | Changelog |
---|---|---|---|
zookeeper.recv_timeout | 10000 | INI_ALL |
|
zookeeper.session_lock | 1 | INI_SYSTEM |
|
zookeeper.sess_lock_wait | 150000 | INI_ALL |
这是配置指令的简短说明。
-
zookeeper.recv_timeout
int -
Default the timeout for any ZooKeeper session.
-
zookeeper.session_lock
int -
Enable PHP session locking.
-
zookeeper.sess_lock_wait
int -
PHP Session spin lock retry wait time in microseconds. Be carefull when setting this value. Valid values are integers, where 0 is interpreted as the default value. Negative values result in a reduces locking to a try lock.
+添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
备份地址:http://www.lvesu.com/blog/php/zookeeper.configuration.php