From ad56ba4f498252bd5caafc93dcebd7b9c42a8527 Mon Sep 17 00:00:00 2001 From: Lennard Kittner Date: Wed, 5 Mar 2025 12:49:47 +0100 Subject: Add todo Check bot queues --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index 6cbc1fa..faac9a7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -216,7 +216,8 @@ impl<'a> Scheduler<'a> { // If no task is ready to run (or in case of error), stop dispatching tasks and notify // the BPF component that all tasks have been scheduled / dispatched, with no remaining // pending tasks. - if self.task_queue.is_empty() { + //TODO: both queues? + if self.task_queue.is_empty() && self.no_budget_task_queue.is_empty() { self.bpf.notify_complete(0); break; } -- cgit v1.3.1