Skip to content

Commit 097d289

Browse files
author
Dinko Dermendzhiev
committed
lib/lib.sh: lower register_networkd_reloader() max (spin time) to match sysfs wait timeout
1 parent 9fad70b commit 097d289

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ maybe_reload_networkd() {
627627

628628
register_networkd_reloader() {
629629
local -i registered=1 cnt=0
630-
local -i max=10000
630+
local -i max=3000 # 300s (3000 × 0.1s); matches sysfs wait timeout in setup-policy-routes.sh
631631
local -r lockfile="${lockdir}/${iface}"
632632
local old_opts=$-
633633

0 commit comments

Comments
 (0)