seitime-frappe/frappe/model
Ankush Menat f17658c4c6
fix: Sample link counts and flush frequently (#32713)
We recently applied limit on how many links can be buffered. That
pretty much "samples" only records created at start of the hour.

This change makes it flush 4x frequently and samples 10% of input to
reduce updates. Again, statistically this serves same purpose.
2025-05-29 12:18:28 +05:30
..
utils fix: Sample link counts and flush frequently (#32713) 2025-05-29 12:18:28 +05:30
__init__.py perf: improve get_permitted_fields logic 2025-03-17 08:55:32 +05:30
base_document.py Revert "perf: cache fetch from value too (#32700)" (#32708) 2025-05-28 13:31:07 +00:00
create_new.py style: re-format with ruff 2024-02-05 18:53:33 +05:30
db_query.py fix(db_query): allow filtering name: None (#32644) 2025-05-23 10:02:14 +05:30
delete_doc.py fix: handle snapshot isolation errors better (#32318) 2025-04-28 06:18:38 +00:00
docfield.py chore!: dead code (#19551) 2023-01-10 18:53:08 +05:30
docstatus.py chore: fix typo in new DocStatus constant 2025-03-05 08:29:47 +05:30
document.py perf: hoist constant computations for child table column order (#32677) 2025-05-26 19:39:29 +05:30
dynamic_links.py perf: cache dynamic links map in Redis (#28878) 2024-12-23 19:43:05 +05:30
mapper.py chore: Revert document read only mode (#32102) 2025-04-12 18:27:16 +05:30
meta.py revert: meta signature 2025-04-12 18:29:25 +05:30
naming.py feat: Add Julian Day to Auto Naming series 2025-04-18 13:20:14 -06:00
rename_doc.py fix: more cleanup 2025-04-17 00:26:57 +05:30
sync.py fix: Orphan doctype check should remove doctypes with no module 2025-04-23 12:02:58 +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 perf: Selectively switch to LIFO ordering when queue is starved (#32226) 2025-04-23 11:54:21 +05:30