diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2018-12-18 23:04:32 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2018-12-18 23:04:32 +1100 |
commit | cf56dcf9ff1b548b2becd9058dbcd3d81639bce4 (patch) | |
tree | 6743ce6ab9f422eff0f067002ff3c655c7179ad5 | |
parent | c14a4eed0e7aaeeb2afd374a6fbda6b716d83b65 (diff) |
refresh files every 10 seconds rather than 2 so that we're not getting a heap of index lock errors
-rw-r--r-- | pkg/gui/gui.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go index 26ebd5f2b..2af7e77c7 100644 --- a/pkg/gui/gui.go +++ b/pkg/gui/gui.go @@ -472,7 +472,7 @@ func (gui *Gui) Run() error { } gui.goEvery(g, time.Second*60, gui.fetch) - gui.goEvery(g, time.Second*2, gui.refreshFiles) + gui.goEvery(g, time.Second*10, gui.refreshFiles) gui.goEvery(g, time.Millisecond*50, gui.updateLoader) gui.goEvery(g, time.Millisecond*50, gui.renderAppStatus) |