From 07437ddde8cfca782d51bf8cac9f4f2704e2e643 Mon Sep 17 00:00:00 2001 From: Csaba Kiraly Date: Tue, 7 Feb 2023 14:44:33 +0100 Subject: [PATCH] fixup bwUplink check (still approximate) Signed-off-by: Csaba Kiraly --- DAS/validator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DAS/validator.py b/DAS/validator.py index 89ca316..ba33170 100644 --- a/DAS/validator.py +++ b/DAS/validator.py @@ -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.