Skip to content

Commit

Permalink
[DATA-2652] Use app.viam.com for offline check instead of viam.com (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
agreenb authored and 10zingpd committed May 24, 2024
1 parent 5ac4d6e commit 433468b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/datamanager/builtin/builtin.go
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ func (svc *builtIn) uploadData(cancelCtx context.Context, intervalMins float64)

func isOffline() bool {
timeout := 5 * time.Second
_, err := net.DialTimeout("tcp", "viam.com:443", timeout)
_, err := net.DialTimeout("tcp", "app.viam.com:443", timeout)
// If there's an error, the system is likely offline.
return err != nil
}
Expand Down

0 comments on commit 433468b

Please sign in to comment.