474 websocket add a snack bar to notify the user on websocket status changes (#483)
* [#474] added snackbar for websocket status * [#474 & #447] added ping to complete browser online/offline status * [#447] ping timeout as an env var
This commit is contained in:
@@ -12,3 +12,5 @@ var DEBUG = false;
|
||||
var LANG = "en";
|
||||
var WEBSOCKET_URL = "wss://calendar.example.com";
|
||||
var WS_DEBOUNCE_PERIOD_MS = 100; // milliseconds, remove or set to 0 to disable debounce
|
||||
var WS_PING_PERIOD_MS = 30000;
|
||||
var WS_PING_TIMEOUT_PERIOD_MS = 35000;
|
||||
|
||||
Reference in New Issue
Block a user