Skip to content

Commit

Permalink
Update options.go (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
mizy authored Dec 16, 2022
1 parent 8ae8bd9 commit 9dfe188
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ccore/nebula/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ func WithLogger(log Logger) Option {

func WithTimeout(timeout time.Duration) Option {
return func(o *Options) {
WithGraphTimeout(timeout)
WithMetaTimeout(timeout)
WithStorageTimeout(timeout)
WithGraphTimeout(timeout)(o)
WithMetaTimeout(timeout)(o)
WithStorageTimeout(timeout)(o)
}
}

Expand Down

0 comments on commit 9dfe188

Please sign in to comment.