perf(sync): speed up single markdown file indexing (#751)

Signed-off-by: phernandez <paul@basicmachines.co>
This commit is contained in:
Paul Hernandez
2026-04-17 07:08:21 -05:00
committed by GitHub
parent 1c343bed66
commit c4cf0aff1e
9 changed files with 446 additions and 59 deletions
+2
View File
@@ -1067,6 +1067,7 @@ class SyncService:
*,
new: bool = True,
index_search: bool = True,
resolve_relations: bool = True,
) -> SyncedMarkdownFile:
"""Sync one markdown file and return the final canonical file state.
@@ -1115,6 +1116,7 @@ class SyncService:
),
new=new,
index_search=False,
resolve_relations=resolve_relations,
)
final_markdown_content = (
indexed.markdown_content