Prevent qdisc delete unless needed, aim to reduce any packet loss

This commit is contained in:
Robert Chacón 2022-09-09 03:33:48 -06:00 committed by GitHub
parent 643bcba584
commit 8064543315
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -426,7 +426,8 @@ def refreshShapers():
reloadStartTime = datetime.now()
# Clear Prior Settings
clearPriorSettings(interfaceA, interfaceB)
if isThisFirstRunSinceBoot:
clearPriorSettings(interfaceA, interfaceB)
# If this is the first time LibreQoS.py has run since system boot, load the XDP program and disable XPS
# Otherwise, just clear the existing IP filter rules for xdp