forked from frappe/frappe
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: load
_doc_before_save
sooner to avoid DB call in `check_if_la…
…test` (frappe#18666) * perf: load `_doc_before_save` sooner to avoid DB calls in `check_if_latest` * fix: specify `for update` in `load_doc_before_save` (cherry picked from commit 6d45b50)
- Loading branch information
1 parent
5f7928b
commit 2710d08
Showing
1 changed file
with
26 additions
and
47 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