Closed rivthor closed 14 years ago
Good catch, thanks! The same is true for Connction#bury
(I adapted the bug title accordingly).
Now the question is how we want to fix this. Two options:
Job#release
. This means an additional stats
request going over the net for each release
(or bury
).Connection#release
is not meant to be used directly anyway, keep the priority-preserving magic in Job
and just use DEFAULT_PRIORITY
as a fallbcak in Connection#release
.Fix default for the priority parameter in Connection#release and #bury
As Connection#release and #bury are meant to be even more low-level than the respective methods in Job, we keep the priority-preserving magic in Job and just use DEFAULT_PRIORITY as default in Connection.
Closed by e98531254e0ac9bc649fcd559c7df5c1c30a8b07.
beastalkc.release(...) is defined to take three parameters - one mandatory and two optional. If the optional parameters are not passed, the command WILL fail.
Example: