[SP-pm] Gearman não passando todos caracteres como argumento

Daniel de Oliveira Mantovani daniel.oliveira.mantovani at gmail.com
Mon Aug 2 12:47:03 PDT 2010


Pessoal, quando eu rodo todos os serviços localmente (Worker/Job
Server/Client), eu não tenho problema. Porém, quando eu executo o
worker remotamente, ele não passa um caractere. Para ser preciso o
último.

Exemplo,

<worker/ip=192.168.1.2>
sub func {
  my $job = shift;
  my $argh = $job->workload;
}
</worker/>

<client/ip=192.168.1.3>
func("água")
</client/

Se eu passar "água", eu vou ter em $argh. "águ". Isso não estava
acontecendo antes localmente.
Alguém tem alguma idéia ?

-- 
http://www.danielmantovani.com

"If you’ve never written anything thoughtful, then you’ve never had
any difficult, important, or interesting thoughts. That’s the secret:
people who don’t write, are people who don’t think."


More information about the SaoPaulo-pm mailing list