Skip to content

Commit

Permalink
Increase latency for stealing (dask#5390)
Browse files Browse the repository at this point in the history
  • Loading branch information
fjetter authored and zanieb committed Oct 28, 2021
1 parent 584db2c commit f38101b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion distributed/stealing.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@
from .diagnostics.plugin import SchedulerPlugin
from .utils import log_errors

LATENCY = 10e-3
# Stealing requires multiple network bounces and if successful also task
# submission which may include code serialization. Therefore, be very
# conservative in the latency estimation to suppress too aggressive stealing
# of small tasks
LATENCY = 0.1

logger = logging.getLogger(__name__)

Expand Down

0 comments on commit f38101b

Please sign in to comment.