mirror of
https://github.com/christianselig/apollo-backend
synced 2024-12-25 07:45:28 +00:00
clean pool on process shutdown
This commit is contained in:
parent
2ea133966b
commit
f8df346eb6
1 changed files with 1 additions and 0 deletions
|
@ -62,6 +62,7 @@ func WorkerCmd(ctx context.Context) *cobra.Command {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
defer fp.Close()
|
||||
|
||||
mgr := faktoryworker.NewManager()
|
||||
mgr.Concurrency = consumers
|
||||
|
|
Loading…
Reference in a new issue