Skip to content

Commit

Permalink
fix make check
Browse files Browse the repository at this point in the history
  • Loading branch information
amyangfei committed Sep 9, 2020
1 parent cde1e47 commit d9edc89
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cdc/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,14 @@ func Timezone(tz *time.Location) ServerOption {
}
}

// OwnerFlushInterval returns a ServerOption that sets the ownerFlushInterval
func OwnerFlushInterval(dur time.Duration) ServerOption {
return func(o *options) {
o.ownerFlushInterval = dur
}
}

// ProcessorFlushInterval returns a ServerOption that sets the processorFlushInterval
func ProcessorFlushInterval(dur time.Duration) ServerOption {
return func(o *options) {
o.processorFlushInterval = dur
Expand Down

0 comments on commit d9edc89

Please sign in to comment.