Lower connection limit on windows
This commit is contained in:
parent
b2722acdf7
commit
60dc1b9d08
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user