forked from wikimedia/mediawiki-extensions-Cargo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PLATFORM-9063 | Only run CargoStore validation prior to attempting to…
… store data CargoStore currently runs validation logic on incoming data each time it's invoked, triggering a primary DB connection to fetch information about the table and currently stored page data. This is only useful in cases like a page save or data recreation, as those are the only cases where incoming data will be stored - this logic should not be run on parser cache misses for a regular page view, as primary DB connections should be avoided there. So, only perform this validation when the data would actually be stored. Bug: T357395 Change-Id: Ia4e783a5707a08486d73fad6a8a374bdc646c86d
- Loading branch information
1 parent
9f415db
commit 71f36dd
Showing
1 changed file
with
41 additions
and
30 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