Skip to content

Commit

Permalink
Increase max workers of threadpool
Browse files Browse the repository at this point in the history
  • Loading branch information
kysre committed Feb 10, 2024
1 parent 5b10788 commit 18a70aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datanode/src/datanode_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def serve():

datanode_name = ConfigManager.get_prop('datanode_name')

server = grpc.server(futures.ThreadPoolExecutor(max_workers=10))
server = grpc.server(futures.ThreadPoolExecutor(max_workers=50))
datanode_pb2_grpc.add_DataNodeServicer_to_server(DataNode(partitions_count, home_path), server)

server.add_insecure_port('[::]:' + port)
Expand Down

0 comments on commit 18a70aa

Please sign in to comment.