mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Update LibreQoS.py
This commit is contained in:
parent
d7fd99eee3
commit
bd97e5b8c1
@ -882,6 +882,11 @@ def refreshShapers():
|
||||
linuxTCcommands.append(command)
|
||||
if 'circuits' in data[node]:
|
||||
for circuit in data[node]['circuits']:
|
||||
# Handle low minimum rates very carefully to avoid over-provisioning
|
||||
if circuit['minDownload'] == 1:
|
||||
circuit['minDownload'] = 0.01
|
||||
if circuit['minUpload'] == 1:
|
||||
circuit['minUpload'] = 0.01
|
||||
# Generate TC commands to be executed later
|
||||
tcComment = " # CircuitID: " + circuit['circuitID'] + " DeviceIDs: "
|
||||
for device in circuit['devices']:
|
||||
|
Loading…
Reference in New Issue
Block a user