--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2019-35e1ebb5ab
2019-06-14 02:16:24.042560
--------------------------------------------------------------------------------
Name : php-pda-pheanstalk
Product : Fedora 29
Version : 3.2.1
Release : 1.fc29
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.
--------------------------------------------------------------------------------
ChangeLog:
* Mon Jun 3 2019 Shawn Iwinski <shawn(a)iwin.ski> - 3.2.1-1
- Update to 3.2.1
* Sat Feb 2 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 3.1.0-4
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
--------------------------------------------------------------------------------
This update can be installed with the "dnf" update program. Use
su -c 'dnf upgrade --advisory FEDORA-2019-35e1ebb5ab' at the command
line. For more information, refer to the dnf documentation available at
http://dnf.readthedocs.io/en/latest/command_ref.html#upgrade-command-label
All packages are signed with the Fedora Project GPG key. More details on the
GPG keys used by the Fedora Project can be found at
https://fedoraproject.org/keys
--------------------------------------------------------------------------------