ping more often

This commit is contained in:
2024-02-02 19:54:22 -06:00
parent 0be7629d9e
commit da516b75f4
2 changed files with 4 additions and 3 deletions

View File

@@ -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"}',
},
});