Skip to content

v0.23.0

Compare
Choose a tag to compare
@ernado ernado released this 02 Feb 23:55
· 3 commits to main since this release
7c84fcc

Introduce shutdown context, [app.Telemetry.ShutdownContext()].

This context should be used as explicit trigger of grafecul shutdown instead of
using base context.

Now, base context (ctx of Run function) can be used during shutdown for pending
work, i.e. pending requests or http server shutdown process, because base context
is not cancelled while in grafecul shutdown state.

Base context will be eventually shut down on timeout if graceful shutdown fails, so
previous behaviour is kept.