Added graceful shutdown

This commit is contained in:
2024-03-12 22:31:45 +01:00
parent d47604606f
commit 46177ccd42
8 changed files with 116 additions and 31 deletions

View File

@ -4,6 +4,6 @@ import "sync"
var contextPool = sync.Pool{
New: func() any {
return &context{}
return &ctx{}
},
}