Re-enable auto-refresh

Also change its loglevel
This commit is contained in:
2025-10-14 12:58:58 +02:00
parent 8d434cc114
commit 1ed720d7d6

View File

@@ -71,7 +71,7 @@ class trweb {
this.#container.appendChild(this.#guiFooter);
this.#dom_servermanager.loadServers();
//this.setTimer();
this.setTimer();
break;
default:
this.#log(5, `Event type ${e.type} not supported`);
@@ -80,14 +80,14 @@ class trweb {
}
refresh() {
this.#log(5,'Refresh');
this.#log(6,'Refresh');
for (const [key, value] of Object.entries(this.#dom_servermanager.getServers())) {
value.refreshTorrentList();
}
}
#timercb = function() {
this.#log(5,'Timer tick');
this.#log(6,'Timer tick');
this.refresh();
}.bind(this);