mirror of
https://github.com/nkanaev/yarr.git
synced 2025-05-24 00:33:14 +00:00
shorten stats refresh timeout
This commit is contained in:
parent
2dc3da88f5
commit
5d377a5183
@ -275,7 +275,7 @@ var vm = new Vue({
|
||||
api.status().then(function(data) {
|
||||
vm.loading.feeds = data.running
|
||||
if (data.running) {
|
||||
setTimeout(vm.refreshStats.bind(vm), 2000)
|
||||
setTimeout(vm.refreshStats.bind(vm), 500)
|
||||
}
|
||||
vm.feedStats = data.stats.reduce(function(acc, stat) {
|
||||
acc[stat.feed_id] = stat
|
||||
|
Loading…
x
Reference in New Issue
Block a user