From b021b72ec4ca6de595294f7accbe954ee9fd9431 Mon Sep 17 00:00:00 2001 From: Niko Sams Date: Fri, 24 Sep 2010 21:39:22 +0200 Subject: touch fastImport process in startFastImport() This is needed to make sure that not too many processes are running and we run out of ressources. Calling touch only in commit is not enough as startFastImport is called in other functions as createBranch too - and that can result in too many processes. --- src/repository.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/repository.cpp') diff --git a/src/repository.cpp b/src/repository.cpp index 7f85e34..be0b0e2 100644 --- a/src/repository.cpp +++ b/src/repository.cpp @@ -701,6 +701,8 @@ void FastImportRepository::finalizeTags() void FastImportRepository::startFastImport() { + processCache.touch(this); + if (fastImport.state() == QProcess::NotRunning) { if (processHasStarted) qFatal("git-fast-import has been started once and crashed?"); -- cgit v1.2.1