Skip to content

Commit

Permalink
Merge branch 'denopink/feat/rewrite' into local-testing
Browse files Browse the repository at this point in the history
  • Loading branch information
maurafortino committed Apr 24, 2024
2 parents aa5b651 + 9546ba1 commit 2f77e36
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions caduceus.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,6 @@ func onStart(logger *zap.Logger) func(context.Context) error {
}
}()

ctx, cancel := context.WithTimeout(ctx, 30*time.Second)
defer cancel()

return nil
}
}
Expand All @@ -249,7 +246,7 @@ func onStop(shutdowner fx.Shutdowner, logger *zap.Logger) func(context.Context)

return func(_ context.Context) error {
defer func() {
if r := recover(); nil != r {
if r := recover(); r != nil {
logger.Error("stacktrace from panic", zap.String("stacktrace", string(debug.Stack())), zap.Any("panic", r))
}

Expand Down

0 comments on commit 2f77e36

Please sign in to comment.