From 29284d40662fa0881ebd48db77a8bf513491cc4d Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Wed, 4 Nov 2009 12:17:45 +0100 Subject: [PATCH] taskd/taskd.pl: Never ACK; we will write to the socket only on errors --- taskd/taskd.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/taskd/taskd.pl b/taskd/taskd.pl index 9e3beae..8230348 100755 --- a/taskd/taskd.pl +++ b/taskd/taskd.pl @@ -6,7 +6,7 @@ # of given URLs received over its socket. # # When a request is received, new process is spawned that sets up -# the repository, ACKs on the socket and reports further progress +# the repository and reports further progress # to .clonelog within the repository. In case the clone fails, # .clone_failed is touched and .clone_in_progress is removed. @@ -80,7 +80,6 @@ sub spawn { sub clone { my ($name) = @_; Girocco::Project::does_exist($name) or die "won't clone non-existing project $name"; - print "1\n"; print STDERR "cloning $name\n"; open STDOUT, ">".$Girocco::Config::reporoot."/".$name.".git/.clonelog" or die "cannot open clonelog: $!"; open STDERR, ">&STDOUT"; -- 2.11.4.GIT