rm heuristic for num_handlers

This commit is contained in:
Dmitry Baranchuk 2022-07-14 02:35:23 +03:00 committed by GitHub
parent f114a6d417
commit db966a76dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -203,8 +203,6 @@ class Server(threading.Thread):
max_batch_size=max_batch_size,
)
num_handlers = num_handlers if num_handlers is not None else len(blocks) * 4
return cls(
dht,
blocks,