From 1088fbac8b185c3bf3542b565f8d713591750a5e Mon Sep 17 00:00:00 2001 From: Erik Winter Date: Thu, 20 Oct 2022 14:15:34 +0200 Subject: [PATCH] shorter sync period --- cmd/android-app/runner/runner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/android-app/runner/runner.go b/cmd/android-app/runner/runner.go index df9ab1b..62eb3ab 100644 --- a/cmd/android-app/runner/runner.go +++ b/cmd/android-app/runner/runner.go @@ -135,7 +135,7 @@ func (r *Runner) refresher() { } func (r *Runner) backgroundSync() { - ticker := time.NewTicker(time.Minute) + ticker := time.NewTicker(5 * time.Second) for { <-ticker.C r.requests <- screen.SyncTasksRequest{}