Archived
1
0

Guantanamo: avoid deadlock by sending register action in background

This commit is contained in:
Mercier Pierre-Olivier 2013-11-28 20:32:49 +01:00
parent a0f9002efd
commit ad2748650b

View File

@ -110,7 +110,7 @@ if ($#ARGV == 0)
{
log INFO, "Starting guantanamo.pl as node process";
Process::Client::launch("guantanamo", {"action" => "register", "nodename" => $ARGV[0]});
Process::Client::launch("guantanamo", {"action" => "register", "nodename" => $ARGV[0]}, undef, 1);
Process::register("guantanamo_".$ARGV[0], \&process_node);
}