mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
optimize<AutoFetch>: reduce CPU usage
This commit is contained in:
parent
0d6fd1ccfa
commit
d895beb3f4
2 changed files with 3 additions and 1 deletions
|
@ -81,6 +81,8 @@ namespace SourceGit.Commands {
|
|||
job.Cmd.Exec();
|
||||
job.NextRunTimepoint = DateTime.Now.AddSeconds(_fetchInterval);
|
||||
}
|
||||
|
||||
Thread.Sleep(2000);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue