From 16cb63b05910055c31dca821c86f2eb815da99e3 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Tue, 12 May 2026 19:02:03 +0000
Subject: [PATCH] =Attempt to stop queue.js from constantly running poll cycle if the status is 429

---
 inc/blocks/CustomBlocks.php |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/inc/blocks/CustomBlocks.php b/inc/blocks/CustomBlocks.php
index 6679038..174e1a7 100644
--- a/inc/blocks/CustomBlocks.php
+++ b/inc/blocks/CustomBlocks.php
@@ -19,6 +19,7 @@
     {
         $this->cache = Cache::for('blocks', WEEK_IN_SECONDS);
 		$this->cache->connect('post')->connect('taxonomy');
+		$this->cache->flush();
 		add_filter('render_block', [$this, 'render'], 900, 2);
 
         add_action('init', [$this, 'registerBlockStyles']);

--
Gitblit v1.10.0