zookeeper-php-configuration-0

  • Installing/Configuring
  • Runtime Configuration

  • Runtime Configuration
  • Runtime Configuration

    Runtime Configuration

    The behaviour of these functions is affected by
    settings in php.ini.

    Zookeeper Configure Options
    Name Default Changeable Changelog
    zookeeper.recv_timeout 10000 PHP_INI_ALL  
    zookeeper.session_lock 1 PHP_INI_SYSTEM  
    zookeeper.sess_lock_wait 150000 PHP_INI_ALL  

    For further details and definitions of the PHP_INI_* modes, see the
    Where a
    configuration setting may be set
    .

    Here’s a short explanation of the configuration
    directives.

    zookeeper.recv_timeout integer

    Default the timeout for any ZooKeeper session.

    zookeeper.session_lock integer

    Enable PHP session locking.

    zookeeper.sess_lock_wait integer

    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.