mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-24 23:41:10 +02:00
- Added asyncio.gather() to run all connector searches concurrently - Replaced sequential for-loop (~600 lines) with parallel execution - Added search_single_connector() helper function for cleaner code - Added CONNECTOR_EMOJIS and CONNECTOR_RESULT_NAMES mappings - Streams "Searching N sources in parallel" before concurrent execution - Processes results as they complete and streams found counts Before: 20 connectors × ~1s each = ~20s total After: All connectors run simultaneously = ~2-3s total This is the highest impact performance optimization identified in the audit. |
||
|---|---|---|
| .. | ||
| qna_agent | ||
| __init__.py | ||
| configuration.py | ||
| graph.py | ||
| nodes.py | ||
| prompts.py | ||
| state.py | ||
| utils.py | ||