fix >5s blank scene for first one in the room when reconnecting

This commit is contained in:
Ryan Di 2022-08-30 22:36:24 +08:00
parent c71495b140
commit a1b1a2f9a3
2 changed files with 18 additions and 11 deletions

View file

@ -8,7 +8,6 @@ export const SYNC_BROWSER_TABS_TIMEOUT = 50;
export const CURSOR_SYNC_TIMEOUT = 33; // ~30fps
export const DELETED_ELEMENT_TIMEOUT = 24 * 60 * 60 * 1000; // 1 day
export const HIDDEN_DISCONNECT_TIMEOUT = 30000;
export const RECONNECT_TOAST_DURATION = 2000;
export const FILE_UPLOAD_MAX_BYTES = 3 * 1024 * 1024; // 3 MiB
// 1 year (https://stackoverflow.com/a/25201898/927631)