chore(): small improvements
This commit is contained in:
@@ -93,6 +93,14 @@ class NotificationRule(BaseModel):
|
||||
default=True,
|
||||
verbose_name=_("is active"),
|
||||
)
|
||||
rate_limit_window_seconds = models.PositiveIntegerField(
|
||||
default=60,
|
||||
verbose_name=_("rate limit window seconds"),
|
||||
)
|
||||
rate_limit_max_notifications = models.PositiveIntegerField(
|
||||
default=1,
|
||||
verbose_name=_("rate limit max notifications"),
|
||||
)
|
||||
created_at = models.DateTimeField(
|
||||
auto_now_add=True,
|
||||
verbose_name=_("created at"),
|
||||
|
||||
Reference in New Issue
Block a user