CC: | <dormando [...] cpan.org> |
Subject: | dispatch_background() suspicious behaviour |
Date: | Tue, 20 Aug 2013 21:25:50 +0200 |
To: | <bug-Gearman [...] rt.cpan.org> |
From: | Oleksii Andreiev <dhyana1981 [...] gmail.com> |
Hello Dormando.
Sorry for bothering you, but today I discovered a strange behavior in
Gearman::* modules.
When I execute a task with $client->do_task(), everything works fine, but
when I use $client->dispatch_background(), the task is scheduled but
nonetheless is never getting executed. The problem lies somehow in prefix()
function, which when is removed, solves the problem with the
dispatch_background() function (do_task() works fine with a prefix set).
Maybe you could give me a hint or explain the issue?
Sincerely,
Oleksii Andreiev