Skip to content

Commit

Permalink
Fix cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
ihippik committed Jan 8, 2021
1 parent a6b1fd4 commit f057ab2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ type Config struct {

// ListenerCfg path of the listener config.
type ListenerCfg struct {
SlotName string `valid:"required"`
AckTimeout time.Duration `valid:"required"`
SlotName string `valid:"required"`
AckTimeout time.Duration
RefreshConnection time.Duration `valid:"required"`
HeartbeatInterval time.Duration `valid:"required"`
}
Expand Down

0 comments on commit f057ab2

Please sign in to comment.