From 51cdab5d21a169d5008c05e5333bd785c21daffa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juraj=20Nyi=CC=81ri?= Date: Mon, 3 May 2021 13:38:21 +0200 Subject: [PATCH] Update: Raise request timeout from plex to 3s --- www/content-card-example.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/www/content-card-example.js b/www/content-card-example.js index 4c8c107..f80b253 100644 --- a/www/content-card-example.js +++ b/www/content-card-example.js @@ -8,7 +8,7 @@ class ContentCardExample extends HTMLElement { movieElems = []; detailElem = undefined; data = {}; - requestTimeout = 1000; + requestTimeout = 3000; loading = false; maxCount = false; @@ -226,7 +226,6 @@ class ContentCardExample extends HTMLElement { this.render(hass); }) .catch((err) => { - console.log("err!"); this.error = "Plex sections requests did not respond within " + this.requestTimeout / 1000 + @@ -235,7 +234,6 @@ class ContentCardExample extends HTMLElement { }); }) .catch((err) => { - console.log("err!!!"); this.error = "Plex server did not respond within " + this.requestTimeout / 1000 +