fixup bwUplink check (still approximate)
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
parent
bb8d05257b
commit
07437ddde8
|
@ -259,7 +259,7 @@ class Validator:
|
|||
|
||||
# until we exhaust capacity
|
||||
# TODO: use exact limit
|
||||
if self.statsTxInSlot >self.bwUplink:
|
||||
if self.statsTxInSlot >= self.bwUplink:
|
||||
return
|
||||
|
||||
# Scheduler exited, nothing to send. Create new one for next round.
|
||||
|
|
Loading…
Reference in New Issue