Optimize Socket.io connections for fewer open requests at any one time

This commit is contained in:
Neshura 2024-01-06 04:31:40 +01:00
parent 2e6b174771
commit 5fff8cec4d
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C
5 changed files with 52 additions and 24 deletions
src/lib/stores

View file

@ -0,0 +1,4 @@
import { writable } from 'svelte/store';
import {io} from "socket.io-client";
export let socketStore = writable(io('https://status.neshweb.net/'));