summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennard Kittner <lennard@kittner.dev>2025-03-05 12:49:47 +0100
committerLennard Kittner <lennard@kittner.dev>2025-03-05 12:49:47 +0100
commitad56ba4f498252bd5caafc93dcebd7b9c42a8527 (patch)
treeaaed5836b82096bab7afccbfcaa259be788887d9 /src
parent1b563fa4131d2caac7ef52436afb4eaf35aae412 (diff)
Add todo
Check bot queues
Diffstat (limited to 'src')
-rw-r--r--src/main.rs3
1 files changed, 2 insertions, 1 deletions
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;
}