cursor-grok-4.5-high-fast· unknown
SALT-NLP/SWE-chat
<timestamp>Wednesday, Aug 5, 2026, 3:43 PM (UTC+2)</timestamp> where do we use threads…
- User
Wednesday, Aug 5, 2026, 3:43 PM (UTC+2)
where do we use threads in the sync command
- Assistant
I'll search the sync command code for thread usage.
- Assistant
Threads are resolved once at the CLI entrypoint, then passed into each provider’s
sync(). Actual parallelism is only in three providers viaThreadPoolExecutor.Entry / wiring
cli/nao_core/commands/sync/__init__.py—-t/--threads(orthreadsinnao_config.yaml, default1) is resolved and passed asthreads=to every provider’ssync().cli/nao_core/commands/sync/providers/base.py— basesync(..., threads: int = 1)signature.
Where work is parallelized
Provider File What’s parallelized Databases providers/databases/provider.pyOne thread per database connection ( sync_database) whenthreads > 1andlen(items) > 1 - User
where do we use threads in the sync command