php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68469 Worker does not register new function when I unregistered all earlier
Submitted: 2014-11-21 09:39 UTC Modified: 2017-01-10 08:25 UTC
From: e dot romanov88 at gmail dot com Assigned:
Status: Suspended Package: gearman (PECL)
PHP Version: 5.5.19 OS: Ubuntu 12.04
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: e dot romanov88 at gmail dot com
New email:
PHP Version: OS:

 

 [2014-11-21 09:39 UTC] e dot romanov88 at gmail dot com
Description:
------------
libgearman version => 1.1.12
(libgearman version => 1.1.8 - all working fine)
I try to "$worker->addFunction()" after "$worker->unregisterAll()" and new function does not registered.


Test script:
---------------
$worker->addServer('localhost', '4730');
//add test fucntion
$worker->addFunction('test', 'test_function');
//unregister all
$worker->unregisterAll();
//try to add function
$worker->addFunction('test', 'test_function'); //- as result function no added

Expected result:
----------------
New function will added

Actual result:
--------------
New function will not added

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-10 08:25 UTC] kalle@php.net
-Status: Open +Status: Suspended
 [2017-01-10 08:25 UTC] kalle@php.net
The gearman extension have not had much activity in the past few years, so I'm taking the safe bet that this is no longer under active development (as I don't consider the typo fixes on the github repo an active development), besides that it also targets unsupported PHP versions. Please unsuspend this report in case it begins to blossom with life once more
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu Jan 20 09:03:33 2022 UTC