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)