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
|
import schedule
|
||||||
from LibreQoS import refreshShapers, refreshShapersUpdateOnly
|
from LibreQoS import refreshShapers, refreshShapersUpdateOnly
|
||||||
from graphInfluxDB import refreshBandwidthGraphs, refreshLatencyGraphs
|
from graphInfluxDB import refreshBandwidthGraphs, refreshLatencyGraphs
|
||||||
from ispConfig import influxDBEnabled, automaticImportUISP, automaticImportSplynx, cpumapVersion
|
from ispConfig import influxDBEnabled, automaticImportUISP, automaticImportSplynx
|
||||||
if automaticImportUISP:
|
if automaticImportUISP:
|
||||||
from integrationUISP import importFromUISP
|
from integrationUISP import importFromUISP
|
||||||
if automaticImportSplynx:
|
if automaticImportSplynx:
|
||||||
@ -34,8 +34,7 @@ if __name__ == '__main__':
|
|||||||
schedule.every(30).minutes.do(importAndShapePartialReload)
|
schedule.every(30).minutes.do(importAndShapePartialReload)
|
||||||
if influxDBEnabled:
|
if influxDBEnabled:
|
||||||
schedule.every(10).seconds.do(refreshBandwidthGraphs)
|
schedule.every(10).seconds.do(refreshBandwidthGraphs)
|
||||||
if cpumapVersion == 'cpumap-pping':
|
schedule.every(30).seconds.do(refreshLatencyGraphs)
|
||||||
schedule.every(45).seconds.do(refreshLatencyGraphs)
|
|
||||||
while True:
|
while True:
|
||||||
schedule.run_pending()
|
schedule.run_pending()
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user