Update: Raise request timeout from plex to 3s

pull/16/head
Juraj Nyíri 4 years ago
parent e7a120f824
commit 51cdab5d21

@ -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 +

Loading…
Cancel
Save