Guantanamo: avoid deadlock by sending register action in background
This commit is contained in:
parent
a0f9002efd
commit
ad2748650b
|
@ -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);
|
||||
}
|
||||
|
|
Reference in New Issue
Block a user