From 8c7cb38dcbf81b3b5c71acc3051724f4baa6b690 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Chac=C3=B3n?= Date: Sun, 20 Nov 2022 09:14:50 -0700 Subject: [PATCH] Make cpumap-pping unchangable again --- v1.3/scheduler.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/v1.3/scheduler.py b/v1.3/scheduler.py index bd3870fe..359bcc0a 100644 --- a/v1.3/scheduler.py +++ b/v1.3/scheduler.py @@ -2,7 +2,7 @@ import time import schedule from LibreQoS import refreshShapers, refreshShapersUpdateOnly from graphInfluxDB import refreshBandwidthGraphs, refreshLatencyGraphs -from ispConfig import influxDBEnabled, automaticImportUISP, automaticImportSplynx, cpumapVersion +from ispConfig import influxDBEnabled, automaticImportUISP, automaticImportSplynx if automaticImportUISP: from integrationUISP import importFromUISP if automaticImportSplynx: @@ -34,8 +34,7 @@ if __name__ == '__main__': schedule.every(30).minutes.do(importAndShapePartialReload) if influxDBEnabled: schedule.every(10).seconds.do(refreshBandwidthGraphs) - if cpumapVersion == 'cpumap-pping': - schedule.every(45).seconds.do(refreshLatencyGraphs) + schedule.every(30).seconds.do(refreshLatencyGraphs) while True: schedule.run_pending() time.sleep(1)