seitime-frappe/frappe/model
Ankush Menat fdba41c682
perf: misc client cache improvements (#29070)
* perf: Reduce penalty for lack of redis connection

If redis isn't running than this client cache is slower than default
implementation because of the extra locking overhead.

* test: update perf redis counts

* perf: cache table columns in client-cache

* fix: race condition on cache-client_cache init

Rare but apparant in synthetic benchmarks.

Cache is set but client cache is still being initialized then request
will fail.

* perf: Don't run notifications when loading document

WHAT?

* fix: use cached doc to repopulate

* perf: reduce get_meta calls
2025-01-07 16:14:43 +05:30
..
utils refactor: fixup with ruff 0.8.1 2024-12-04 13:18:04 +05:30
__init__.py refactor: fixup with ruff 0.8.1 2024-12-04 13:18:04 +05:30
base_document.py refactor: temporary key for child rows 2025-01-02 15:33:15 +05:30
create_new.py style: re-format with ruff 2024-02-05 18:53:33 +05:30
db_query.py perf: misc client cache improvements (#29070) 2025-01-07 16:14:43 +05:30
delete_doc.py refactor: use doc.check_permission (#28317) 2024-11-22 10:41:24 +01:00
docfield.py chore!: dead code (#19551) 2023-01-10 18:53:08 +05:30
docstatus.py feat: utility methods for docstatus (#15515) 2022-02-04 07:41:25 +00:00
document.py perf: misc client cache improvements (#29070) 2025-01-07 16:14:43 +05:30
dynamic_links.py perf: cache dynamic links map in Redis (#28878) 2024-12-23 19:43:05 +05:30
mapper.py fix: make read only mode thread safe (#28359) 2024-11-18 15:00:50 +01:00
meta.py fix: clear all meta cache only when doctype is not specified 2025-01-06 18:57:57 +05:30
naming.py fix(NamingExpression): series should be seperate for different expressions instead of global 2024-11-04 14:38:52 +05:30
rename_doc.py perf: Skip link checking on internal deletes 2025-01-06 11:48:19 +05:30
sync.py refactor: fixup with ruff 0.8.1 2024-12-04 13:18:04 +05:30
trace.py refactor: organize test contextmanagers (#28041) 2024-10-09 02:09:19 +02:00
virtual_doctype.py refactor: migrate virtual doctypes to new API 2024-03-11 18:25:05 +05:30
workflow.py fix: workflow should also support queue_in_background 2024-12-03 07:02:27 +00:00