From a661bc566d4add9b389fe64fee39df4de74d99ef Mon Sep 17 00:00:00 2001 From: tbradsha Date: Mon, 6 Jan 2025 19:05:57 +0000 Subject: [PATCH] Jetpack CRM: Fix hundreds of unneeded db queries (#40711) * Add a cache to mitigate the problem. * changelog * Add line break at the end of the changelog file * Update cache when making single settings requests * Declare variable to satisfy static code analysis * Force settings refresh from db * Change self to static to allow dynamic resolution * Refactor entire mitigation cache for issue 3504 * Change $key default value from 0 to false Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12638546446 Upstream-Ref: Automattic/jetpack@7c2138857728fe5a144e15433ad46130a1794469