We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 540d009 commit 1a60858Copy full SHA for 1a60858
src/tasks/queue_task.rs
@@ -58,7 +58,7 @@ impl Task for QueueTask {
58
self.instance_provider.start_instance(template_name).await?;
59
}
60
61
- if let Some(instance) = instances_ready.first() {
+ for instance in instances_ready {
62
let mut available_slots = instance.get_available_slots().await;
63
64
while !queue.is_empty() && available_slots > 0 {
0 commit comments