mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-16 07:39:26 +08:00
up to 1000 threads (only 1024 file descriptors are available anyway)
This commit is contained in:
@@ -164,7 +164,7 @@ if os.environ.get("BLOCKSTACK_TEST_MAX_RPC_LEN"):
|
||||
MAX_RPC_LEN = int(os.environ.get("BLOCKSTACK_TEST_MAX_RPC_LEN"))
|
||||
print("Overriding MAX_RPC_LEN to {}".format(MAX_RPC_LEN))
|
||||
|
||||
MAX_RPC_THREADS = 1024
|
||||
MAX_RPC_THREADS = 1000
|
||||
if os.environ.get('BLOCKSTACK_RPC_MAX_THREADS'):
|
||||
MAX_RPC_THREADS = int(os.environ.get('BLOCKSTACK_RPC_MAX_THREADS'))
|
||||
print('Overriding MAX_RPC_THREADS to {}'.format(MAX_RPC_THREADS))
|
||||
|
||||
Reference in New Issue
Block a user