Skip to content

Commit

Permalink
Fix LIGHTEN. Close #2723 (#2744)
Browse files Browse the repository at this point in the history
### What problem does this PR solve?

Fix LIGHTEN
#2726 
#2723

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
- [ ] New Feature (non-breaking change which adds functionality)
- [ ] Documentation Update
- [ ] Refactoring
- [ ] Performance Improvement
- [ ] Other (please describe):

---------

Co-authored-by: Kevin Hu <[email protected]>
  • Loading branch information
yuzhichang and KevinHuSh authored Oct 8, 2024
1 parent 5845b2b commit 5cc9981
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
SERVER_MODULE = "rag_flow_server.py"
TEMP_DIRECTORY = os.path.join(get_project_base_directory(), "temp")
RAG_FLOW_CONF_PATH = os.path.join(get_project_base_directory(), "conf")
LIGHTEN = os.environ.get('LIGHTEN')
LIGHTEN = int(os.environ.get('LIGHTEN', "0"))

SUBPROCESS_STD_LOG_NAME = "std.log"

Expand Down

0 comments on commit 5cc9981

Please sign in to comment.