From 172a8b4404ea4ef10801d4662a68c7503aef23e1 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Tue, 10 Feb 2026 23:47:05 +0000
Subject: [PATCH] =Minor changes to upload system for when a field's value is deleted, and replaced with a new item
---
inc/managers/queue/Queue.php | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/inc/managers/queue/Queue.php b/inc/managers/queue/Queue.php
index 9a160e6..08f3212 100644
--- a/inc/managers/queue/Queue.php
+++ b/inc/managers/queue/Queue.php
@@ -11,6 +11,7 @@
private Storage $storage;
private Processor $processor;
private TypeRegistry $registry;
+ public Executor $executor;
private Locker $locker;
public function __construct()
@@ -19,8 +20,8 @@
$this->registry = new TypeRegistry();
$this->locker = new Locker();
- $executor = new FilteredExecutor();
- $this->processor = new Processor($this->storage, $executor, $this->registry);
+ $this->executor = new FilteredExecutor();
+ $this->processor = new Processor($this->storage, $this->executor, $this->registry);
add_action('jvb_process_queue', [$this, 'checkQueue']);
add_action('jvb_queue_maintenance', [$this, 'maintenance']);
--
Gitblit v1.10.0