Skip to content
Snippets Groups Projects
Commit e6eebeb3 authored by Craig Tiller's avatar Craig Tiller
Browse files

Reduce threadpool size

parent 84f18796
No related branches found
No related tags found
No related merge requests found
...@@ -41,7 +41,7 @@ from grpc.framework.base import null ...@@ -41,7 +41,7 @@ from grpc.framework.base import null
from grpc.framework.foundation import activated from grpc.framework.foundation import activated
from grpc.framework.foundation import logging_pool from grpc.framework.foundation import logging_pool
_THREAD_POOL_SIZE = 100 _THREAD_POOL_SIZE = 10
@enum.unique @enum.unique
......
...@@ -41,7 +41,7 @@ from grpc.framework.base import null ...@@ -41,7 +41,7 @@ from grpc.framework.base import null
from grpc.framework.foundation import activated from grpc.framework.foundation import activated
from grpc.framework.foundation import logging_pool from grpc.framework.foundation import logging_pool
_THREAD_POOL_SIZE = 100 _THREAD_POOL_SIZE = 10
_INVOCATION_EVENT_KINDS = ( _INVOCATION_EVENT_KINDS = (
_low.Event.Kind.METADATA_ACCEPTED, _low.Event.Kind.METADATA_ACCEPTED,
......
...@@ -36,7 +36,7 @@ from grpc.framework.base import interfaces_test_case ...@@ -36,7 +36,7 @@ from grpc.framework.base import interfaces_test_case
from grpc.framework.base import util from grpc.framework.base import util
from grpc.framework.foundation import logging_pool from grpc.framework.foundation import logging_pool
POOL_MAX_WORKERS = 100 POOL_MAX_WORKERS = 10
DEFAULT_TIMEOUT = 30 DEFAULT_TIMEOUT = 30
MAXIMUM_TIMEOUT = 60 MAXIMUM_TIMEOUT = 60
......
...@@ -35,7 +35,7 @@ from grpc.framework.face.testing import test_case ...@@ -35,7 +35,7 @@ from grpc.framework.face.testing import test_case
from grpc.framework.foundation import logging_pool from grpc.framework.foundation import logging_pool
_TIMEOUT = 3 _TIMEOUT = 3
_MAXIMUM_POOL_SIZE = 100 _MAXIMUM_POOL_SIZE = 10
class FaceTestCase(test_case.FaceTestCase): class FaceTestCase(test_case.FaceTestCase):
......
...@@ -44,7 +44,7 @@ from grpc.framework.foundation import future ...@@ -44,7 +44,7 @@ from grpc.framework.foundation import future
from grpc.framework.foundation import logging_pool from grpc.framework.foundation import logging_pool
_TIMEOUT = 3 _TIMEOUT = 3
_MAXIMUM_POOL_SIZE = 100 _MAXIMUM_POOL_SIZE = 10
class _PauseableIterator(object): class _PauseableIterator(object):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment