Add DEBUG string
This commit is contained in:
parent
aef2b7d71e
commit
1e9e89656d
@ -106,6 +106,8 @@ sub register_no_parse ($$;$)
|
|||||||
|
|
||||||
my $worker = Gearman::Worker->new;
|
my $worker = Gearman::Worker->new;
|
||||||
|
|
||||||
|
log INFO, "Registering function $funcname on ", join(", ", @servers);
|
||||||
|
|
||||||
$worker->job_servers( @servers );
|
$worker->job_servers( @servers );
|
||||||
$worker->register_function($funcname => sub
|
$worker->register_function($funcname => sub
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user