Skip to content

Commit

Permalink
Increase latency for stealing (#5390)
Browse files Browse the repository at this point in the history
  • Loading branch information
fjetter authored Oct 19, 2021
1 parent 1585f85 commit a8151a6
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 a8151a6

Please sign in to comment.