1
0
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:
Adolfo Gómez García 2022-11-02 02:57:00 +01:00
commit 114247e407
No known key found for this signature in database
GPG Key ID: DD1ABF20724CDA23

View File

@ -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: