We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1585f85 commit a8151a6Copy full SHA for a8151a6
distributed/stealing.py
@@ -14,7 +14,11 @@
14
from .diagnostics.plugin import SchedulerPlugin
15
from .utils import log_errors
16
17
-LATENCY = 10e-3
+# Stealing requires multiple network bounces and if successful also task
18
+# submission which may include code serialization. Therefore, be very
19
+# conservative in the latency estimation to suppress too aggressive stealing
20
+# of small tasks
21
+LATENCY = 0.1
22
23
logger = logging.getLogger(__name__)
24
0 commit comments