Minor tweak on variable initialization at start of QueueServer loop

Chris Pollett [2023-09-06 03:Sep:th]
Minor tweak on variable initialization at start of QueueServer loop
Filename
src/executables/QueueServer.php
diff --git a/src/executables/QueueServer.php b/src/executables/QueueServer.php
index 869c97ce3..fd9206280 100644
--- a/src/executables/QueueServer.php
+++ b/src/executables/QueueServer.php
@@ -492,7 +492,7 @@ class QueueServer implements CrawlConstants
         static $total_idle_two_hours = 0;
         static $oldest_record_time = 0;
         static $last_record_time = 0;
-        $info[self::STATUS] = self::WAITING_START_MESSAGE_STATE;
+        $info = [self::STATUS => self::WAITING_START_MESSAGE_STATE];
         L\crawlLog("In queue loop!! {$this->server_name}", $this->process_name);
         if ($this->isAIndexer()) {
             $this->deleteOrphanedBundles();
ViewGit