Guantanamo: avoid deadlock by sending register action in background
This commit is contained in:
parent
a0f9002efd
commit
ad2748650b
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ if ($#ARGV == 0)
|
||||||
{
|
{
|
||||||
log INFO, "Starting guantanamo.pl as node process";
|
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);
|
Process::register("guantanamo_".$ARGV[0], \&process_node);
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue