aboutsummaryrefslogtreecommitdiff
path: root/source/client
diff options
context:
space:
mode:
authormetamuffin <metamuffin@yandex.com>2022-01-24 13:34:29 +0100
committermetamuffin <metamuffin@yandex.com>2022-01-24 13:34:29 +0100
commit8cbe8e1a92fbf6531ff477b5dff11185c53fd12d (patch)
tree220640f408b47d0abb38da16a6950bbb56e433ba /source/client
parent485013c25d5bf1f568a2a33d1a8dab50daf60842 (diff)
downloadkeks-meet-8cbe8e1a92fbf6531ff477b5dff11185c53fd12d.tar
keks-meet-8cbe8e1a92fbf6531ff477b5dff11185c53fd12d.tar.bz2
keks-meet-8cbe8e1a92fbf6531ff477b5dff11185c53fd12d.tar.zst
stupid workaround for nginx disconnection inactive connections
Diffstat (limited to 'source/client')
-rw-r--r--source/client/room.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/client/room.ts b/source/client/room.ts
index 3f56ece..45ccd84 100644
--- a/source/client/room.ts
+++ b/source/client/room.ts
@@ -67,5 +67,6 @@ export class Room {
websocket_open() {
log("ws", "websocket opened");
this.websocket.send(this.local_user.name)
+ setInterval(() => this.websocket_send({}), 30000) // stupid workaround for nginx disconnection inactive connections
}
} \ No newline at end of file