mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-25 19:15:18 +02:00
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. |
||
|---|---|---|
| .. | ||
| celery_tasks | ||
| chat | ||
| connector_indexers | ||
| document_processors | ||
| __init__.py | ||
| composio_indexer.py | ||
| surfsense_docs_indexer.py | ||