SurfSense/surfsense_backend/app/tasks/document_processors
CREDO23 1791241c0c perf(indexers): offload sync embed_text to thread across background workers
Connector kb_sync_services (gmail, onedrive, google_calendar, jira),
streaming indexers (discord, luma, teams) and the file-processor save
path all called embed_text inside async coroutines, blocking the
background worker's event loop for the duration of the embed. Wrap each
call site in asyncio.to_thread so concurrent indexing tasks stop
serialising on the embed.
2026-05-20 10:09:38 +02:00
..
__init__.py
_direct_converters.py
_helpers.py
_save.py
base.py
circleback_processor.py
extension_processor.py
file_processors.py
markdown_processor.py
youtube_processor.py