From 60dc1b9d08e228ed64756730a4576cf5666f611a Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Mon, 2 Aug 2021 16:45:25 +0300 Subject: [PATCH] Lower connection limit on windows --- minode/tests/test_process.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/minode/tests/test_process.py b/minode/tests/test_process.py index 4abfad6..cf1997f 100644 --- a/minode/tests/test_process.py +++ b/minode/tests/test_process.py @@ -1,6 +1,7 @@ import unittest import signal import subprocess +import sys import tempfile import time @@ -10,7 +11,7 @@ import psutil class TestProcessProto(unittest.TestCase): """Test process attributes, common flow""" _process_cmd = ['minode'] - _connection_limit = 16 + _connection_limit = 8 if sys.platform.startswith('win') else 16 _listen = None _listening_port = None