mirror of
https://github.com/HKUDS/LightRAG.git
synced 2025-08-17 21:20:45 +00:00
Update lightrag_server.py
This commit is contained in:
parent
6e58d0bf1d
commit
7b42601ab8
@ -809,7 +809,8 @@ def create_app(args):
|
||||
# Startup logic
|
||||
# Now only if this option is active, we can scan. This is better for big databases where there are hundreds of
|
||||
# files. Makes the startup faster
|
||||
if args.auto_scan_at_startup:
|
||||
if args.auto_scan_at_startup:
|
||||
ASCIIColors.info("Auto scan is active, rescanning the input directory.")
|
||||
try:
|
||||
new_files = doc_manager.scan_directory()
|
||||
for file_path in new_files:
|
||||
|
Loading…
x
Reference in New Issue
Block a user