more ram -> more speed

This commit is contained in:
JackDoan
2026-07-13 18:56:07 -05:00
parent 3719f135e3
commit 6e6cfc89db
4 changed files with 22 additions and 5 deletions
+3 -2
View File
@@ -98,14 +98,15 @@ func main() {
}
if !*configTest {
if err := ctrl.Start(); err != nil {
wait, err := ctrl.Start()
if err != nil {
util.LogWithContextIfNeeded("Error while running", err, l)
os.Exit(1)
}
go ctrl.ShutdownBlock()
if err := ctrl.Wait(); err != nil {
if err := wait(); err != nil {
l.Error("Nebula stopped due to fatal error", "error", err)
os.Exit(2)
}