Skip to content

Commit b592506

Browse files
committed
Increase keepalive frequency, invalidate disconnected clients faster
1 parent 181850d commit b592506

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/net/earthmc/emcapi/sse/SSEManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public void loadSSE() {
143143
for (final ClientData data : CLIENTS.values()) {
144144
data.client.sendComment("keepalive");
145145
}
146-
}, 5L, 5L, TimeUnit.MINUTES);
146+
}, 30, 30, TimeUnit.SECONDS);
147147
}
148148

149149
public void shutdown() {

0 commit comments

Comments
 (0)