-
Notifications
You must be signed in to change notification settings - Fork 802
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
3 changed files
with
135 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
projects/plugins/crm/changelog/fix-crm-3504-hundreds-of-unnedded-db-queries-fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Significance: patch | ||
Type: fixed | ||
|
||
CRM: Fix bug which caused duplicated queries to run. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters