Skip to content

Commit 6d1f35a

Browse files
committed
Increase health check timeout from 30 to 60 seconds
1 parent 3a357e1 commit 6d1f35a

File tree

1 file changed

+1
-1
lines changed
  • src/greenguard/web/Store

1 file changed

+1
-1
lines changed

src/greenguard/web/Store/Hub.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ public class Hub
77
public string? IpAddress { get; set; }
88
public DeviceId DeviceId { get; set; }
99
public DateTime? LastHealthCheck { get; set; }
10-
public bool IsOnline => LastHealthCheck != null && (DateTime.UtcNow - LastHealthCheck.Value).TotalSeconds < 30;
10+
public bool IsOnline => LastHealthCheck != null && (DateTime.UtcNow - LastHealthCheck.Value).TotalSeconds < 60;
1111
}

0 commit comments

Comments
 (0)