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/FormBlock.php | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/inc/blocks/FormBlock.php b/inc/blocks/FormBlock.php
index a48519a..768ed18 100644
--- a/inc/blocks/FormBlock.php
+++ b/inc/blocks/FormBlock.php
@@ -34,6 +34,7 @@
public function __construct()
{
$this->cache = Cache::for('forms', WEEK_IN_SECONDS);
+
// Initialize forms from filter
$this->forms = $this->registerForms();
$this->form_contact = apply_filters('jvb_form_contact', '');
--
Gitblit v1.10.0