Lower connection limit on windows

This commit is contained in:
Dmitri Bogomolov 2021-08-02 16:45:25 +03:00 committed by Lee Miller
parent b2722acdf7
commit 60dc1b9d08
Signed by: lee.miller
GPG Key ID: 4F97A5EA88F4AB63

View File

@ -1,6 +1,7 @@
import unittest import unittest
import signal import signal
import subprocess import subprocess
import sys
import tempfile import tempfile
import time import time
@ -10,7 +11,7 @@ import psutil
class TestProcessProto(unittest.TestCase): class TestProcessProto(unittest.TestCase):
"""Test process attributes, common flow""" """Test process attributes, common flow"""
_process_cmd = ['minode'] _process_cmd = ['minode']
_connection_limit = 16 _connection_limit = 8 if sys.platform.startswith('win') else 16
_listen = None _listen = None
_listening_port = None _listening_port = None