Skip to content

Commit 249a844

Browse files
committed
Added explanation
1 parent 99a79f7 commit 249a844

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lightspeed_stack.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ def main() -> None:
7474
raise SystemExit(1) from e
7575
return
7676

77+
# Store config path in env so each uvicorn worker can load it
78+
# (step is needed because process context isn’t shared).
7779
os.environ["LIGHTSPEED_STACK_CONFIG_PATH"] = args.config_file
7880

7981
# if every previous steps don't fail, start the service on specified port

0 commit comments

Comments
 (0)