diff --git a/js/ws/index.js b/js/ws/index.js index 77e9351..a7d92d5 100644 --- a/js/ws/index.js +++ b/js/ws/index.js @@ -55,7 +55,7 @@ class WS { this.#state = ERROR // some reporting or something?? // some backoff? - new Promise(res => setTimeout(res, 1000)) + await new Promise(res => setTimeout(res, 1000)) this.#connect() }