diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2018-12-18 21:28:09 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2018-12-18 21:28:09 +1100 |
commit | 276ac3a92ea101a2ba599022cd1caffc66934583 (patch) | |
tree | 590fe6893d9375d9bb6022c40fca2b6fdddce84e /pkg | |
parent | a4beabf4b940b65c26ce056e9bffc50e2d34b908 (diff) |
decrease frequency of refreshing files because it's causing index lock errors
Diffstat (limited to 'pkg')
-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 b0062dba8..3144a2c3d 100644 --- a/pkg/gui/gui.go +++ b/pkg/gui/gui.go @@ -534,7 +534,7 @@ func (gui *Gui) Run() error { }) } }() - 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) |