Skip to content

Commit 0262294

Browse files
committed
Allow a higher number of workers in the mock_api
This is because a higher number of component streams are required for testing some scenarios in the logical meter formula generation and composition. Signed-off-by: Sahas Subramanian <[email protected]>
1 parent bc18941 commit 0262294

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/microgrid/mock_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def __init__(
262262
self, servicer: MicrogridServicer, host: str = "[::]", port: int = 61060
263263
) -> None:
264264
"""Create a MockGrpcServicer instance."""
265-
self._server = grpc.aio.server(futures.ThreadPoolExecutor(max_workers=10))
265+
self._server = grpc.aio.server(futures.ThreadPoolExecutor(max_workers=20))
266266
add_MicrogridServicer_to_server(servicer, self._server)
267267
self._server.add_insecure_port(f"{host}:{port}")
268268

0 commit comments

Comments
 (0)