Skip to content

Commit

Permalink
fix(server): don't reuse ThreadPoolExecutor between grpc and runners (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
efiop authored Jul 4, 2024
1 parent 1576028 commit c44e627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/isolate/server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ def _add_log_to_queue(self, log: Log) -> None:

def main() -> None:
server = grpc.server(
RUNNER_THREAD_POOL,
futures.ThreadPoolExecutor(max_workers=MAX_THREADS),
options=get_default_options(),
)
with BridgeManager() as bridge_manager:
Expand Down

0 comments on commit c44e627

Please sign in to comment.