Skip to content

Commit 70da0e7

Browse files
committed
Leave Server module running until end of shutdown
We want the process to answer requests (including status and metrics) until it has finished shutting down. Every target depends on Server, so it will get shut down as a dependency. Signed-off-by: Bryan Boreham <[email protected]>
1 parent 650f59d commit 70da0e7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkg/cortex/cortex.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ func (t *Cortex) Run() error {
221221

222222
// Stop gracefully stops a Cortex.
223223
func (t *Cortex) Stop() error {
224-
t.server.Shutdown()
225224
t.stop(t.target)
226225
return nil
227226
}

0 commit comments

Comments
 (0)