summaryrefslogtreecommitdiff
path: root/cmd/dserver
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/dserver')
-rw-r--r--cmd/dserver/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/dserver/main.go b/cmd/dserver/main.go
index fff41f0..14188e1 100644
--- a/cmd/dserver/main.go
+++ b/cmd/dserver/main.go
@@ -55,7 +55,7 @@ func main() {
ctx, cancel = context.WithTimeout(ctx, time.Duration(shutdownAfter)*time.Second)
}
- sigCh := make(chan os.Signal)
+ sigCh := make(chan os.Signal, 10)
signal.Notify(sigCh, os.Interrupt, syscall.SIGTERM)
go func() {