1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-03-07 12:58:33 +03:00

Reduced stats

This commit is contained in:
Adolfo Gómez García 2022-11-02 15:02:05 +01:00
parent ec2645b0a2
commit 43458cbf99
No known key found for this signature in database
GPG Key ID: DD1ABF20724CDA23

View File

@ -54,7 +54,7 @@ cache = Cache('StatsDispatcher')
# Enclosed methods under /stats path
POINTS = 150
SINCE = 30 # Days, if higer values used, ensure mysql/mariadb has a bigger sort buffer
SINCE = 7 # Days, if higer values used, ensure mysql/mariadb has a bigger sort buffer
USE_MAX = True
CACHE_TIME = SINCE * 24 * 3600 // POINTS