mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-16 20:32:13 +01:00
fix: graceful shutdown with asynchronous processes - fixes #1022
This commit is contained in:
8
pkg/gotenberg/shutdown.go
Normal file
8
pkg/gotenberg/shutdown.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package gotenberg
|
||||
|
||||
import "errors"
|
||||
|
||||
// ErrCancelGracefulShutdownContext tells that a module wants to abort a
|
||||
// graceful shutdown and stops Gotenberg right away as there are no more
|
||||
// ongoing processes.
|
||||
var ErrCancelGracefulShutdownContext = errors.New("cancel graceful shutdown's context")
|
||||
Reference in New Issue
Block a user