summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2022-05-31 17:19:52 +0200
committerValery Piashchynski <[email protected]>2022-05-31 17:19:52 +0200
commit9abcda533811e9bbd239f60c31e1d0dcc41d743e (patch)
tree8ed1321506130f9c51ebe48017ae2c58c74e2497
parent2b07bb078f243a342d2bb155b32e804a64ec49f2 (diff)
chore: remove debug artifacts
Signed-off-by: Valery Piashchynski <[email protected]>
-rw-r--r--internal/cli/serve/command.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/internal/cli/serve/command.go b/internal/cli/serve/command.go
index a85beb89..73b54c3c 100644
--- a/internal/cli/serve/command.go
+++ b/internal/cli/serve/command.go
@@ -5,7 +5,6 @@ import (
"os"
"os/signal"
"syscall"
- "time"
"github.com/roadrunner-server/roadrunner/v2/internal/container"
"github.com/roadrunner-server/roadrunner/v2/internal/meta"
@@ -101,7 +100,6 @@ func NewCommand(override *[]string, cfgFile *string, silent *bool) *cobra.Comman
case <-stop: // stop the container after first signal
fmt.Printf("stop signal received, grace timeout is: %0.f seconds\n", containerCfg.GracePeriod.Seconds())
- time.Sleep(time.Second * 100)
if err = endureContainer.Stop(); err != nil {
return fmt.Errorf("error: %w", err)
}