Skip to content

Commit 48fdf2c

Browse files
Make connectionIsStale public
1 parent 39067b8 commit 48fdf2c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/hosopy/actioncable/ConnectionMonitor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ private void reconnectIfStale() {
9191
}
9292
}
9393

94-
private boolean connectionIsStale() {
94+
public boolean connectionIsStale() {
9595
return secondsSince(pingedAt > 0 ? pingedAt : startedAt) > STALE_THRESHOLD;
9696
}
9797

0 commit comments

Comments
 (0)