-
- Downloads
Refactor Gracefulshutdown Plugin (#404)
* Refactor gracefulshutdown plugin
* Remove reporting hanging workers
* Add ShutdownWithError() func to trigger graceful shutdown
from outside of the package with error message
* Simplify code
* Increase forcekill timeout to 60 seconds
* Add back reporting of hanging workers
* Upgrade hive.go
* go mod tidy
Co-authored-by:
Wolfgang Welz <welzwo@gmail.com>
Showing
- go.mod 1 addition, 1 deletiongo.mod
- go.sum 2 additions, 3 deletionsgo.sum
- plugins/gracefulshutdown/plugin.go 9 additions, 2 deletionsplugins/gracefulshutdown/plugin.go
- tools/integration-tests/tester/go.mod 1 addition, 1 deletiontools/integration-tests/tester/go.mod
- tools/integration-tests/tester/go.sum 2 additions, 3 deletionstools/integration-tests/tester/go.sum
... | ... | @@ -11,7 +11,7 @@ require ( |
github.com/gobuffalo/packr/v2 v2.7.1 | ||
github.com/golang/protobuf v1.3.5 | ||
github.com/gorilla/websocket v1.4.1 | ||
github.com/iotaledger/hive.go v0.0.0-20200504205557-790e3a7585f2 | ||
github.com/iotaledger/hive.go v0.0.0-20200507170830-a7c8444003b7 | ||
github.com/iotaledger/iota.go v1.0.0-beta.14 | ||
github.com/labstack/echo v3.3.10+incompatible | ||
github.com/labstack/gommon v0.3.0 | ||
... | ... |
Please register or sign in to comment