diff options
author | Alan Pearce | 2024-12-08 19:52:43 +0100 |
---|---|---|
committer | Alan Pearce | 2024-12-08 19:52:43 +0100 |
commit | 668c1b6a70782da5c25fe9529fe9fcc5ad47b880 (patch) | |
tree | 2a7ed2cbfde7d18482f102cbf009beeb51795a9b /cmd | |
parent | c88f5f3a36b2f540ea54789c76b143167f52e3f4 (diff) | |
download | website-668c1b6a70782da5c25fe9529fe9fcc5ad47b880.tar.lz website-668c1b6a70782da5c25fe9529fe9fcc5ad47b880.tar.zst website-668c1b6a70782da5c25fe9529fe9fcc5ad47b880.zip |
wait for graceful shutdown
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/server/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/server/main.go b/cmd/server/main.go index ddf3426..652ffa3 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -54,6 +54,6 @@ func main() { <-ctx.Done() log.Debug("calling stop") - sv.Stop() + <-sv.Stop() log.Debug("done") } |