Skip to content

Commit

Permalink
Fix datanode thread pool conversion to int
Browse files Browse the repository at this point in the history
  • Loading branch information
kysre committed Feb 13, 2024
1 parent 17559ab commit bb6ccf2
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 @@ -206,7 +206,7 @@ def serve():

server = grpc.server(
futures.ThreadPoolExecutor(
max_workers=ConfigManager.get_prop('server_thread_pool_size')
max_workers=int(ConfigManager.get_prop('server_thread_pool_size'))
)
)
datanode = DataNode(partitions_count, home_path, datanode_name)
Expand Down

0 comments on commit bb6ccf2

Please sign in to comment.