forked from frappe/frappe
-
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.
perf: Reuse cached user for
get_user_lang
(frappe#26350)
Saves ~1% of overhead. User doc is almost always cached to create session so we can reuse it in same request without additional redis call.
- Loading branch information
1 parent
9848fcc
commit b89540c
Showing
1 changed file
with
7 additions
and
13 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