mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Make cpumap-pping unchangable again
This commit is contained in:
parent
a3a839d803
commit
8c7cb38dcb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user