mirror of https://github.com/jetkvm/kvm.git
Update native.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
dd7cbd1a2f
commit
156e5b78f8
|
@ -327,6 +327,7 @@ func ExtractAndRunNativeBin() error {
|
||||||
err := superviseNativeBinary(binaryPath)
|
err := superviseNativeBinary(binaryPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
nativeLogger.Warn().Err(err).Msg("failed to supervise native binary")
|
nativeLogger.Warn().Err(err).Msg("failed to supervise native binary")
|
||||||
|
time.Sleep(1 * time.Second) // Add a short delay to prevent rapid successive calls
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue