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:
parent
c14a4eed0e
commit
cf56dcf9ff
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user