Update lightrag_server.py
This commit is contained in:
parent
6e58d0bf1d
commit
7b42601ab8
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue