Skip to content

Commit 803df1a

Browse files
Update pkg/stream/environment.go
Co-authored-by: Alberto Moretti <58828402+hiimjako@users.noreply.github.com>
1 parent c66eb81 commit 803df1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/stream/environment.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ func NewEnvironment(options *EnvironmentOptions) (*Environment, error) {
4444
}
4545
}(client)
4646

47-
//// we put a limit to the heartbeat.
48-
//// it doesn't make sense to have a heartbeat less than 3 seconds
47+
// we put a limit to the heartbeat.
48+
// it doesn't make sense to have a heartbeat less than 3 seconds
4949
if options.TCPParameters.RequestedHeartbeat < (3 * time.Second) {
5050
return nil, errors.New("RequestedHeartbeat must be greater than 3 seconds")
5151
}

0 commit comments

Comments
 (0)