Skip to content

Commit

Permalink
Fix #2304
Browse files Browse the repository at this point in the history
  • Loading branch information
greenape committed Apr 13, 2020
1 parent d826c9c commit 4953984
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Changed

### Fixed
- FlowMachine server will now ignore values for the `FLOWMACHINE_SERVER_THREADPOOL_SIZE` environment variable which can't be cast to `int`. [#2304](https://github.com/Flowminder/FlowKit/issues/2304)

### Removed

Expand Down
2 changes: 1 addition & 1 deletion flowmachine/flowmachine/core/server/server_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def get_server_config() -> FlowmachineServerConfig:
try:
thread_pool_size = int(thread_pool_size)
except (TypeError, ValueError):
pass # Not an int
thread_pool_size = None # Not an int

return FlowmachineServerConfig(
port=port,
Expand Down

0 comments on commit 4953984

Please sign in to comment.