Jake Vanderwerf
2026-02-07 8b82035f3f8be1462a7125ad7eafb990ca17fa94
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