mirror of
https://github.com/slackhq/nebula.git
synced 2026-11-15 15:16:52 +01:00
more ram -> more speed
This commit is contained in:
1 parent
7896f2093b
commit
1c9d8bcceb
4 files changed
+22
-5
No files matched your search
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user