Php/docs/zookeeper.configuration

提供:Dev Guides
< Php
移動先:案内検索

実行時設定

php.ini の設定により動作が変化します。

Zookeeper 設定オプション
名前 デフォルト 変更可能 Changelog
zookeeper.recv_timeout 10000 PHP_INI_ALL  
zookeeper.session_lock 1 PHP_INI_SYSTEM  
zookeeper.sess_lock_wait 150000 PHP_INI_ALL  

PHP_INI_* モードの詳細および定義については どこで設定を行うのか を参照してください。 以下に設定ディレクティブに関する 簡単な説明を示します。

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.