Daljeet Virdi
Daljeet Virdi
CCConvex Community
Created by Daljeet Virdi on 5/3/2025 in #support-community
Websocket reconnecting.
I'm getting a lot of websocket reocnnection issues. Could you please help? If I do this:
const convex = useMemo(() =>
new ConvexHttpClient(process.env.NEXT_PUBLIC_CONVEX_URL!),
[]
);
const convex = useMemo(() =>
new ConvexHttpClient(process.env.NEXT_PUBLIC_CONVEX_URL!),
[]
);
instead of const convex = useConvex() Things go a bit faster, but still get a lot of reconnection issues like:
2025-05-03T15:46:00.842Z begin ws.onclose
logging.js:78 WebSocket closed with code 1013: InternalServerError
logging.js:78 Attempting reconnect in 51.371233042534726ms
logging.js:75 2025-05-03T15:46:00.894Z constructed WebSocket
2025-05-03T15:46:00.842Z begin ws.onclose
logging.js:78 WebSocket closed with code 1013: InternalServerError
logging.js:78 Attempting reconnect in 51.371233042534726ms
logging.js:75 2025-05-03T15:46:00.894Z constructed WebSocket
3 replies
CCConvex Community
Created by Daljeet Virdi on 3/26/2025 in #support-community
can multiple workers safely update different rows in a table concurrently
Hi team – quick question: can multiple workers safely update different rows in a table concurrently? I’m currently seeing table locking issues when multiple workers try to update the different rows of the same table. Would it be better to insert new rows instead of updating an existing one? Is that the more appropriate pattern for handling streaming workloads, rather than trying to maintain a single record per stream?
12 replies