disque-php
disque-php copied to clipboard
PHP library for Disque, an in-memory, distributed job queue
Hello everyone, in the issue #22, over a year ago, I mentioned that I'd been working on a framework for running background jobs. However, as Fred Brooks said many years...
Logic error in Socket::getType() results in "Don't know how to handle a response of type" exception
The method `Socket::getType()` (https://github.com/mariano/disque-php/blob/39bc697/src/Connection/Socket.php#L192L207) is notated via PHPDoc as `@return string A single char` - that's not the case; it's actually `?string` due to a small logic bug. The problem...
It's not well documented, but the HELLO response is not expected to always reply with an IP address for every node. Specifically: - Shut down any running Disque instance -...
The PING command is useful for checking for underlying timeouts, connection issues, dead server nodes, etc. PING appears to be implemented the same as Redis's PING (but I've asked upstream...
Builds for HHVM are currently failing. Presumably should be a major version to drop support, so maybe consider just no longer testing on HHVM for now and officially dropping support...
I'd like to release 3.0 soon. On the list of to-do I see: - [ ] Issue #25 - [ ] Issue #28 - [ ] Issue #43 - [...
To me, this makes the library a little harder to use for certain cases. Specifically, if you want to query a changing list of queues, you seem to have to...
The `GETJOB` command, or other commands, may return a `-LEAVING` error instead of blocking. This error should be considered by the client library as a request to connect to a...