From 4953984f6408f6d6c4b372275b1733d2a3449272 Mon Sep 17 00:00:00 2001 From: Jono Gray Date: Wed, 8 Apr 2020 21:03:14 +0100 Subject: [PATCH] Fix #2304 --- CHANGELOG.md | 1 + flowmachine/flowmachine/core/server/server_config.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 29bedcb768..32ed74c751 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/flowmachine/flowmachine/core/server/server_config.py b/flowmachine/flowmachine/core/server/server_config.py index 521c4f1646..9a27125d93 100644 --- a/flowmachine/flowmachine/core/server/server_config.py +++ b/flowmachine/flowmachine/core/server/server_config.py @@ -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,