Skip to content

Commit

Permalink
Fix issues with parsing buffer size config when running from docker c…
Browse files Browse the repository at this point in the history
…ompose.
  • Loading branch information
lmnewton committed Jul 5, 2024
1 parent d1ea6dc commit 2d84b93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
)

log_dir = os.getenv("LOG_LOCATION", "/var/log")
buffer = os.getenv("BUFFER_SIZE", 4096)
buffer = int(os.getenv("BUFFER_SIZE", 4096))


@app.get("/", include_in_schema=False)
Expand Down

0 comments on commit 2d84b93

Please sign in to comment.