From 80d8479fd04c9a06a98f7cf4aedaa367984ac038 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 08 Feb 2026 22:15:13 +0000
Subject: [PATCH] =Form.php upload render fix

---
 inc/managers/queue/Queue.php |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/inc/managers/queue/Queue.php b/inc/managers/queue/Queue.php
index 54509fa..9a160e6 100644
--- a/inc/managers/queue/Queue.php
+++ b/inc/managers/queue/Queue.php
@@ -19,7 +19,7 @@
 		$this->registry = new TypeRegistry();
 		$this->locker = new Locker();
 
-		$executor = new FilteredExecutor($this->storage);
+		$executor = new FilteredExecutor();
 		$this->processor = new Processor($this->storage, $executor, $this->registry);
 
 		add_action('jvb_process_queue', [$this, 'checkQueue']);
@@ -100,16 +100,11 @@
 	public function maintenance(): void
 	{
 		$this->locker->withLock(function () {
-			$this->cleanupStuck();
+			$this->storage->resetStuckOperations(30);
 		});
 
 	}
 
-	private function cleanupStuck(): void
-	{
-		$this->storage->resetStuckOperations(30);
-	}
-
 	// === Public Getters ===
 
 	public function get(string $id): ?Operation

--
Gitblit v1.10.0