文件名称:supervisor_cache:直接在 Supervisor 实例中缓存任意数据
文件大小:11KB
文件格式:ZIP
更新时间:2024-06-19 09:28:20
Python
主管缓存 这个包是的扩展,它提供了将任意数据直接缓存在 Supervisor 实例中作为键/值对的能力。 主要作为如何编写Supervisor扩展的参考。 安装 发布包在 Python 包索引 (PyPI) 上找到。 您可以从那里下载它们,也可以使用pip自动安装或升级: $ pip install -U supervisor_cache 安装软件包后,您必须修改您的supervisord.conf文件以注册 RPC 接口和supervisorctl插件: [rpcinterface:cache] supervisor.rpcinterface_factory = supervisor_cache.rpcinterface:make_cache_rpcinterface [ctlplugin:cache] supervisor.ctl_factory = supervisor_c
【文件预览】:
supervisor_cache-master
----MANIFEST.in(59B)
----supervisor_cache()
--------rpcinterface.py(3KB)
--------controllerplugin.py(2KB)
--------__init__.py(57B)
--------tests()
----.github()
--------workflows()
----LICENSE.txt(2KB)
----setup.py(2KB)
----README.md(3KB)
----CHANGES.txt(1KB)
----.gitignore(68B)