Skip to content

Commit

Permalink
remove deprecated Option
Browse files Browse the repository at this point in the history
  • Loading branch information
ajatprabha committed Jul 26, 2023
1 parent 3afeea1 commit 10f68fb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions options.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,3 @@ type Option interface {
type ShutdownTimeout time.Duration

func (t ShutdownTimeout) apply(m *Manager) { m.shutdownTimeout = time.Duration(t) }

// WithGracefulShutdownTimeout allows max timeout after which Manager exits.
//
// Deprecated: Use ShutdownTimeout instead.
func WithGracefulShutdownTimeout(timeout time.Duration) Option { return ShutdownTimeout(timeout) }

0 comments on commit 10f68fb

Please sign in to comment.