teamd: increase the waitting time for daemon killing
In the current code, we wait for at most 5s when kill the daemon pid.
But in some environment, it may need more time. Then the teamd -k will
failed and return error "Failed to kill daemon: Timer expired".
Let's increase the value to have enough time. Here is the reuslt with
this patch:
$ time libteam/teamd/teamd -k -t team0
real 0m10.442s
user 0m0.017s
sys 0m0.016s
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
1 file changed