Commit 9e63af30 authored by Andrei Mihu's avatar Andrei Mihu
Browse files

Log when all authoritative messages have stopped during graceful shutdown.

parent 03dcb1b6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4,7 +4,8 @@ All notable changes to this project are documented below.
The format is based on [keep a changelog](http://keepachangelog.com) and this project uses [semantic versioning](http://semver.org).

## [Unreleased]

### Added
- Print a log message when all authoritative messages have stopped during graceful shutdown.

## [2.11.1] - 2020-03-29
### Changed
+1 −0
Original line number Diff line number Diff line
@@ -180,6 +180,7 @@ func main() {
	select {
	case <-matchRegistry.Stop(graceSeconds):
		// Graceful shutdown has completed.
		startupLogger.Info("All authoritative matches stopped")
	case <-timerCh:
		// Timer has expired, terminate matches immediately.
		startupLogger.Info("Shutdown grace period expired")