mirror of
https://github.com/jlengrand/bugsink.git
synced 2026-03-10 08:01:17 +00:00
Quota settings: per-month on project level; per-smaller on installation level
and make it configurable on in the templates & docker
This commit is contained in:
@@ -62,11 +62,14 @@ HTTP_501_NOT_IMPLEMENTED = 501
|
||||
|
||||
QUOTA_THRESHOLDS = {
|
||||
"Installation": [
|
||||
("minute", 5, "MAX_EVENTS_PER_5_MINUTES"),
|
||||
("hour", 1, "MAX_EVENTS_PER_HOUR",),
|
||||
("month", 1, "MAX_EVENTS_PER_MONTH"),
|
||||
],
|
||||
"Project": [
|
||||
("minute", 5, "MAX_EVENTS_PER_PROJECT_PER_5_MINUTES"),
|
||||
("hour", 1, "MAX_EVENTS_PER_PROJECT_PER_HOUR",),
|
||||
("month", 1, "MAX_EVENTS_PER_PROJECT_PER_MONTH"),
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user