略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: 运行时配置

2024-05-01

运行时配置

这些函数的行为受 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.

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/zookeeper.configuration.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3