mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-11 05:17:55 +03:00
Merge remote-tracking branch 'origin/v3.5' into v3.6
This commit is contained in:
commit
114247e407
@ -116,7 +116,7 @@ class StatsCounters(models.Model):
|
||||
interval = kwargs.get('interval') or 600
|
||||
|
||||
# Max intervals, if present, will adjust interval (that are seconds)
|
||||
max_intervals = kwargs.get('max_intervals', 0)
|
||||
max_intervals = kwargs.get('max_intervals') or 0
|
||||
if max_intervals > 0:
|
||||
count = q.count()
|
||||
if max_intervals < count:
|
||||
|
Loading…
Reference in New Issue
Block a user