ping more often
This commit is contained in:
@@ -40,7 +40,7 @@ const themeIcon = computed(() => dark.value ? 'mdi-moon-waxing-crescent' : 'mdi-
|
||||
const { status, data, send, open } = useWebSocket<string>(`wss://${window.location.host}/queue`, {
|
||||
immediate: false,
|
||||
heartbeat: {
|
||||
interval: 5000,
|
||||
interval: 1000,
|
||||
message: '{"action":"ping"}',
|
||||
},
|
||||
});
|
||||
|
Reference in New Issue
Block a user