Reduce threadpool size

pull/1728/head
Craig Tiller 10 years ago
parent 84f187966f
commit e6eebeb355
  1. 2
      src/python/src/grpc/_adapter/fore.py
  2. 2
      src/python/src/grpc/_adapter/rear.py
  3. 2
      src/python/src/grpc/framework/base/implementations_test.py
  4. 2
      src/python/src/grpc/framework/face/_test_case.py
  5. 2
      src/python/src/grpc/framework/face/testing/future_invocation_asynchronous_event_service_test_case.py

@ -41,7 +41,7 @@ from grpc.framework.base import null
from grpc.framework.foundation import activated
from grpc.framework.foundation import logging_pool
_THREAD_POOL_SIZE = 100
_THREAD_POOL_SIZE = 10
@enum.unique

@ -41,7 +41,7 @@ from grpc.framework.base import null
from grpc.framework.foundation import activated
from grpc.framework.foundation import logging_pool
_THREAD_POOL_SIZE = 100
_THREAD_POOL_SIZE = 10
_INVOCATION_EVENT_KINDS = (
_low.Event.Kind.METADATA_ACCEPTED,

@ -36,7 +36,7 @@ from grpc.framework.base import interfaces_test_case
from grpc.framework.base import util
from grpc.framework.foundation import logging_pool
POOL_MAX_WORKERS = 100
POOL_MAX_WORKERS = 10
DEFAULT_TIMEOUT = 30
MAXIMUM_TIMEOUT = 60

@ -35,7 +35,7 @@ from grpc.framework.face.testing import test_case
from grpc.framework.foundation import logging_pool
_TIMEOUT = 3
_MAXIMUM_POOL_SIZE = 100
_MAXIMUM_POOL_SIZE = 10
class FaceTestCase(test_case.FaceTestCase):

@ -44,7 +44,7 @@ from grpc.framework.foundation import future
from grpc.framework.foundation import logging_pool
_TIMEOUT = 3
_MAXIMUM_POOL_SIZE = 100
_MAXIMUM_POOL_SIZE = 10
class _PauseableIterator(object):

Loading…
Cancel
Save