Skip to content

Commit

Permalink
increase heartbeat timeout, value was too sensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmarklloyd committed Jun 9, 2021
1 parent 0d07145 commit 03678ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const (
sensorStatusChannel = "sensor/status"
sensorHeartbeatChannel = "sensor/heartbeat"
openTimeout = 5 * time.Minute
heartbeatTimeout = 15 * time.Second
heartbeatTimeout = 5 * time.Minute
)

var _webServer webServer
Expand Down

0 comments on commit 03678ad

Please sign in to comment.