update requirements

This commit is contained in:
bkfox
2019-09-30 14:07:29 +02:00
parent bf3a012532
commit 1d7dde6f05
6 changed files with 8 additions and 5 deletions

View File

@ -6,6 +6,8 @@ Vue.use(Button)
import {setAppConfig} from 'public/app';
import Model from 'public/model';
import Sound from 'public/sound';
import {setEcoInterval} from 'public/utils';
import {Streamer, Queue} from './controllers';
window.aircox.appConfig = {
@ -45,7 +47,7 @@ window.aircox.appConfig = {
mounted() {
this.fetchStreamers();
this.fetchInterval = setInterval(() => this.streamer && this.streamer.fetch(), 5000)
this.fetchInterval = setEcoInterval(() => this.streamer && this.streamer.fetch(), 5000)
},
destroyed() {