From 2b8ae47c0c4bae3a1183b1e4143989ba02b7655c Mon Sep 17 00:00:00 2001 From: Patrick Qian Date: Mon, 18 Mar 2024 17:41:19 +0100 Subject: [PATCH 1/2] increase default greenlet max number in distributed --- source/jormungandr/jormungandr/default_settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/jormungandr/jormungandr/default_settings.py b/source/jormungandr/jormungandr/default_settings.py index 84a205832a..9b5602d5c1 100644 --- a/source/jormungandr/jormungandr/default_settings.py +++ b/source/jormungandr/jormungandr/default_settings.py @@ -353,7 +353,7 @@ # PATCH_WITH_GEVENT_SOCKET_LEVEL : values possibles all, thread or socket PATCH_WITH_GEVENT_SOCKET_LEVEL = os.getenv('JORMUNGANDR_PATCH_WITH_GEVENT_SOCKET_LEVEL', 'socket') -GREENLET_POOL_SIZE = int(os.getenv('JORMUNGANDR_GEVENT_POOL_SIZE', 10)) +GREENLET_POOL_SIZE = int(os.getenv('JORMUNGANDR_GEVENT_POOL_SIZE', 20)) PARSER_MAX_COUNT = int(os.getenv('JORMUNGANDR_PARSER_MAX_COUNT', 1000)) From f53e077677f4527ce3b6ab55aa1a6abdd4900b89 Mon Sep 17 00:00:00 2001 From: Patrick Qian Date: Mon, 18 Mar 2024 17:41:39 +0100 Subject: [PATCH 2/2] increase default greenlet max number in distributed --- source/jormungandr/jormungandr/default_settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/jormungandr/jormungandr/default_settings.py b/source/jormungandr/jormungandr/default_settings.py index 9b5602d5c1..9bd7a0c556 100644 --- a/source/jormungandr/jormungandr/default_settings.py +++ b/source/jormungandr/jormungandr/default_settings.py @@ -353,7 +353,7 @@ # PATCH_WITH_GEVENT_SOCKET_LEVEL : values possibles all, thread or socket PATCH_WITH_GEVENT_SOCKET_LEVEL = os.getenv('JORMUNGANDR_PATCH_WITH_GEVENT_SOCKET_LEVEL', 'socket') -GREENLET_POOL_SIZE = int(os.getenv('JORMUNGANDR_GEVENT_POOL_SIZE', 20)) +GREENLET_POOL_SIZE = int(os.getenv('JORMUNGANDR_GEVENT_POOL_SIZE', 30)) PARSER_MAX_COUNT = int(os.getenv('JORMUNGANDR_PARSER_MAX_COUNT', 1000))