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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user