Added graceful shutdown
This commit is contained in:
parent
784c4e85fb
commit
1592310738
8 changed files with 116 additions and 31 deletions
2
pool.go
2
pool.go
|
@ -4,6 +4,6 @@ import "sync"
|
|||
|
||||
var contextPool = sync.Pool{
|
||||
New: func() any {
|
||||
return &context{}
|
||||
return &ctx{}
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue