Skip to content

Commit

Permalink
Update relay.go
Browse files Browse the repository at this point in the history
  • Loading branch information
blinktag committed Jul 12, 2023
1 parent cccae39 commit 01e24d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relay/relay.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func validateConfig(cfg *Config) error {
}

if cfg.Timeout == 0 {
cfg.Timeout = validate.GRPCDefaultTimeoutSeconds
cfg.Timeout = validate.GRPCDefaultTimeoutSeconds * time.Second
}

if cfg.RelayCh == nil {
Expand Down

0 comments on commit 01e24d3

Please sign in to comment.