Make cpumap-pping unchangable again

This commit is contained in:
Robert Chacón 2022-11-20 09:14:50 -07:00 committed by GitHub
parent a3a839d803
commit 8c7cb38dcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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