decrease update interval

This commit is contained in:
iou1name 2019-09-12 09:49:10 -04:00
parent c81ce67f92
commit 79616c5ed5
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ class Watch(threading.Thread):
if self.stopped():
break
torrents[n] = get_all(n)
self._stop_event.wait(2)
self._stop_event.wait(0.5)
def size_units(rate):

View File

@ -1,6 +1,6 @@
function load() {
//let intervalID = window.setInterval(get_active_torrents_ajax, 20000);
let intervalID = window.setInterval(get_active_torrents, 20000);
let intervalID = window.setInterval(get_active_torrents, 5000);
}
function get_active_torrents_ajax() {