New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
一个长期运行的脚本 读取配置 并不会自动变化 #71
Comments
检查一下yaconf.check_delay。 |
设置了的, 使用接口访问或者重新启动的脚本获取到是变化后的值了。 而一直在运行的脚本 每次去获取 都是原来的值 |
@laruence 大佬 有什么解决的办法吗 |
touch('/tmp/php_yaconf'); |
可能是我问题没有表述清楚 我修改配置后 访问api接口 和 新运行的脚本,都可以正常获取到变更后的配置。 也就是说 脚本在运行初始化的时候加载了配置 在之后的运行过程中 不会再更新配置了 |
@holla-renzhenguo 问一下最后是怎么解决的 |
我运行了一个由supervisor守护的脚本,用来处理队列数据
当我更新了ini文件配置后 ,使用fastcgi访问的程序已经变更,但是 该脚本在不重启的情况下 获取到的配置值没有变更
The text was updated successfully, but these errors were encountered: