Skip to content

Commit

Permalink
Update LibreQoS.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rchac authored Feb 18, 2025
1 parent 05fe034 commit 4b8edfd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/LibreQoS.py
Original file line number Diff line number Diff line change
Expand Up @@ -898,11 +898,11 @@ def sqmFixupRate(rate:int, sqm:str) -> str:
linuxTCcommands.append(command)
if 'circuits' in data[node]:
for circuit in data[node]['circuits']:
# Handle low min rates of 0 to mean 100 kbps
if circuit['minDownload'] == 0:
circuit['minDownload'] = 0.1
if circuit['minUpload'] == 0:
circuit['minUpload'] = 0.1
# # Handle low min rates of 0 to mean 100 kbps
# if circuit['minDownload'] == 0:
# circuit['minDownload'] = 0.1
# if circuit['minUpload'] == 0:
# circuit['minUpload'] = 0.1
# Generate TC commands to be executed later
tcComment = " # CircuitID: " + circuit['circuitID'] + " DeviceIDs: "
for device in circuit['devices']:
Expand Down

0 comments on commit 4b8edfd

Please sign in to comment.