optimize<AutoFetch>: reduce CPU usage

This commit is contained in:
leo 2024-02-19 17:40:36 +08:00
parent 0d6fd1ccfa
commit d895beb3f4
2 changed files with 3 additions and 1 deletions

View file

@ -81,6 +81,8 @@ namespace SourceGit.Commands {
job.Cmd.Exec();
job.NextRunTimepoint = DateTime.Now.AddSeconds(_fetchInterval);
}
Thread.Sleep(2000);
}
});
}