Skip to content

Commit

Permalink
Merge pull request #641 from LibreQoE/develop
Browse files Browse the repository at this point in the history
Update LibreQoS.py
  • Loading branch information
rchac authored Feb 18, 2025
2 parents 7b5f7cb + 4b8edfd commit cc9a561
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 cc9a561

Please sign in to comment.