【文件属性】:
文件名称:sentry-quotas:Sentry 的扩展,允许设置硬限制
文件大小:12KB
文件格式:ZIP
更新时间:2021-06-06 18:37:29
Python
哨兵配额
Sentry 的扩展,允许设置硬限制。
该软件包不再维护,是 Sentry 核心的一部分。
安装
通过pip安装包:
pip install sentry-quotas
配置
配置SENTRY_QUOTAS在sentry.conf.py :
SENTRY_QUOTAS = {
'redis': {
'hosts': {
# for more information on configuring hosts, see the documentation for the
# Nydus python package
0: {
'host': 'localhost',
'port': 6379
}
【文件预览】:
sentry-quotas-master
----MANIFEST.in(114B)
----README.rst(951B)
----src()
--------sentry_quotas()
----.travis.yml(254B)
----LICENSE(11KB)
----setup.cfg(53B)
----setup.py(1KB)
----Makefile(154B)
----conftest.py(1010B)
----tests()
--------sentry_quotas()
--------__init__.py(0B)
----.gitignore(30B)
----runtests.py(291B)