Go: file syncer service framework (#16579)

### Summary

./ragflow_main --syncer to start file syncer


config yaml file has following config
```
file_syncer:
  max_concurrent_syncs: 4 # concurrent file sync threads
  sync_interval: 3 # check interval

```

---------

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
Jin Hai
2026-07-03 11:14:02 +08:00
committed by GitHub
parent 62f94cd59b
commit 1aa8abe373
7 changed files with 262 additions and 14 deletions

View File

@@ -65,6 +65,9 @@ nats:
port: ${NATS_PORT:-4222}
task_executor:
message_queue_type: 'nats'
file_syncer:
max_concurrent_syncs: 4
sync_interval: 3
user_default_llm:
default_models:
embedding_model: