File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ This documents notable changes in DistributedNext.jl. The format is based on
19
19
port is specified. Previously this would cause errors when the workers all
20
20
tried to bind to the same port, now all additional workers will treat the bind
21
21
port as a port hint ([ #19 ] ).
22
+ - Fixed a bug in the network interface selection code that would cause it to
23
+ error when only a subset of interfaces reported the negotiation speed
24
+ ([ #29 ] ).
22
25
23
26
### Added
24
27
- A watcher mechanism has been added to detect when both the Distributed stdlib
Original file line number Diff line number Diff line change @@ -1374,8 +1374,8 @@ function init_bind_addr()
1374
1374
# If none of them report speed just pick the first one
1375
1375
bind_addr = string (interfaces[1 ]. ip)
1376
1376
else
1377
- idx = findmax (x -> x. speed, interfaces )[2 ]
1378
- bind_addr = string (interfaces [idx]. ip)
1377
+ idx = findmax (x -> x. speed, interfaces_with_speed )[2 ]
1378
+ bind_addr = string (interfaces_with_speed [idx]. ip)
1379
1379
end
1380
1380
end
1381
1381
end
You can’t perform that action at this time.
0 commit comments