Skip to content

Commit 7c97263

Browse files
committed
Change server shutdown grace period
1 parent 2c5f399 commit 7c97263

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/erised/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ func main() {
136136

137137
defer func() {
138138
log.Log().Msg("erised server shutting down")
139+
time.Sleep(100 * time.Millisecond)
139140
}()
140141

141142
log.Debug().Msg("leaving main")

0 commit comments

Comments
 (0)