Skip to content

Commit

Permalink
Reduce threadpool size
Browse files Browse the repository at this point in the history
  • Loading branch information
ctiller committed May 22, 2015
1 parent 84f1879 commit e6eebeb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/python/src/grpc/_adapter/fore.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
from grpc.framework.foundation import activated
from grpc.framework.foundation import logging_pool

_THREAD_POOL_SIZE = 100
_THREAD_POOL_SIZE = 10


@enum.unique
Expand Down
2 changes: 1 addition & 1 deletion src/python/src/grpc/_adapter/rear.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
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,
Expand Down
2 changes: 1 addition & 1 deletion src/python/src/grpc/framework/base/implementations_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
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

Expand Down
2 changes: 1 addition & 1 deletion src/python/src/grpc/framework/face/_test_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
from grpc.framework.foundation import logging_pool

_TIMEOUT = 3
_MAXIMUM_POOL_SIZE = 100
_MAXIMUM_POOL_SIZE = 10


class FaceTestCase(test_case.FaceTestCase):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
from grpc.framework.foundation import logging_pool

_TIMEOUT = 3
_MAXIMUM_POOL_SIZE = 100
_MAXIMUM_POOL_SIZE = 10


class _PauseableIterator(object):
Expand Down

0 comments on commit e6eebeb

Please sign in to comment.