1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-04 03:48:07 +02:00

refresh files every 10 seconds rather than 2 so that we're not getting a heap of index lock errors

This commit is contained in:
Jesse Duffield 2018-12-18 23:04:32 +11:00
parent c14a4eed0e
commit cf56dcf9ff

View File

@ -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)