-------------------------------------------------------------------------------- Fedora EPEL Update Notification FEDORA-EPEL-2019-4603ac74ba 2019-06-20 01:20:48.782292 --------------------------------------------------------------------------------
Name : php-pda-pheanstalk Product : Fedora EPEL 6 Version : 3.2.1 Release : 1.el6 URL : https://github.com/pda/pheanstalk Summary : PHP client for beanstalkd queue Description : Pheanstalk is a pure PHP 5.3+ client for the beanstalkd workqueue [1]. It has been actively developed, and used in production by many, since late 2008.
Created by Paul Annesley [2], Pheanstalk is rigorously unit tested and written using encapsulated, maintainable object oriented design. Community feedback, bug reports and patches has led to a stable 1.0 release in 2010, a 2.0 release in 2013, and a 3.0 release in 2014.
Pheanstalk 3.0 introduces PHP namespaces, PSR-1 and PSR-2 coding standards, and PSR-4 autoloader standard.
beanstalkd up to the latest version 1.4 is supported. All commands and responses specified in the protocol documentation for beanstalkd 1.3 are implemented.
Autoloader: /usr/share/php/Pheanstalk/autoload.php
[1] http://xph.us/software/beanstalkd/ [2] http://paul.annesley.cc/
-------------------------------------------------------------------------------- Update Information:
### v3.2.1 Bugfix for socket timeouts This release fixes a bug that could, in certain cases, cause data to be lost from a connection. Due to the way beanstalk reservations work no data is permanently lost and the main effect of this would be a delay in task execution. Thanks for pointing out the problem @mialex! ### v3.2.0 Maintenance release This is a maintenance release. One issue that was fixed in this release was the risk of an infinite loop in `Connection::getLine()`. Now after a timeout, configurable via `ini- set('default_socket_timeout', $timeout)`, the `getLine()` function will throw an exception to bring it in line with `Connection::read()` and `Connection::write()`. If your worker has to potentially wait a long time for jobs you might start to see exceptions that you did not see before. Even though this behavior is a change it allows you to actually detect errors instead of just waiting forever. #### My worker runs via a supervisor If your worker is currently managed by a supervisor (ie, it restarts after it dies), set your socket timeout to a value like `3600`. This means that if the worker doesn't get jobs for 12 hours, it will be restarted 12 times, but in return, if the connection is dead the worker will restart after at most 1 hour and resume working. #### My worker does not run via a supervisor If a crash of your worker results in manually having to restart it you should really change the configuration. One option that partially resolves this is properly catching errors in `reserve()`, socket errors are in that sense nothing new, the changes in this version just make them more consistent in certain cases. --------------------------------------------------------------------------------
This update can be installed with the "yum" update programs. Use su -c 'yum update php-pda-pheanstalk' at the command line. For more information, refer to "YUM", available at https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7%5C /html/System_Administrators_Guide/ch-yum.html
All packages are signed with the Fedora EPEL GPG key. More details on the GPG keys used by the Fedora Project can be found at https://fedoraproject.org/keys --------------------------------------------------------------------------------
epel-package-announce@lists.fedoraproject.org