shorter sync period
This commit is contained in:
parent
6d1587e4ec
commit
1088fbac8b
|
@ -135,7 +135,7 @@ func (r *Runner) refresher() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r *Runner) backgroundSync() {
|
func (r *Runner) backgroundSync() {
|
||||||
ticker := time.NewTicker(time.Minute)
|
ticker := time.NewTicker(5 * time.Second)
|
||||||
for {
|
for {
|
||||||
<-ticker.C
|
<-ticker.C
|
||||||
r.requests <- screen.SyncTasksRequest{}
|
r.requests <- screen.SyncTasksRequest{}
|
||||||
|
|
Loading…
Reference in New Issue