mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
add toast message when reconnecting to server
This commit is contained in:
parent
f8c9f63650
commit
c71495b140
3 changed files with 34 additions and 7 deletions
|
@ -8,6 +8,7 @@ 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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue