botserver/src/drive
Rodrigo Rodriguez (Pragmatismo) 112ac51da3
All checks were successful
BotServer CI/CD / build (push) Successful in 3m50s
fix: KB processor runs as background task, no longer blocks check_for_changes
- Added start_kb_processor() method: long-running background task per bot
- check_gbkb_changes now queues KB folders to pending_kb_index (non-blocking)
- KB processor polls pending_kb_index and processes one at a time per bot
- Removed inline tokio::spawn from check_gbkb_changes that was causing 5min timeouts
- Added pending_kb_index field to DriveMonitor struct

This fixes salesianos DriveMonitor timeout - check_for_changes now completes
in seconds instead of hanging on KB embedding/indexing.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-04-12 21:28:03 -03:00
..
drive_monitor fix: KB processor runs as background task, no longer blocks check_for_changes 2026-04-12 21:28:03 -03:00
document_processing.rs Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
drive_handlers.rs Update botserver: various fixes and improvements 2026-04-07 13:33:50 -03:00
drive_types.rs feat: Add JWT secret rotation and health verification 2026-02-19 19:42:41 +00:00
local_file_monitor.rs fix: use Vault config for Qdrant in KB indexer 2026-04-09 18:27:10 -03:00
mod.rs Fix KB indexing: single file streaming, dedup tracking, .ast cache 2026-04-11 13:10:09 -03:00
vectordb.rs Update botserver: various fixes and improvements 2026-04-07 13:33:50 -03:00