Changelog diff is: diff --git a/CHANGES b/CHANGES index 90dac8f..e313e68 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,7 @@ +2011-08-18: Release version 0.002 + +No functional changes. Adam made the POD less hideous. + 2011-08-17: Release version 0.001 Initial release. Code is experimental. Beware of bugs, and we reserve the
okay now I'm sick of doing it. Antoine asked to be removed from AUTHORS, but we can add him back later.
I'm tired of documenting for now :( Lets do more next release!
why'd I write this before the rename?
if using multiple DB's, setting a uniqkey doesn't hash against the dbid (but it should, in a future version). We can at least use it with gearmand to coalesce a bit.
can call directly, but not indirectly via pure mode yet. Gotta save something for 0.02.
this is pretty gross. suggest something better if you want.
if injecting a job via the injector, add a flag to ensure job is re-injected through the controller if needed. Use the shim by default. Note that this sort of forces to you to *either* the shim or the injector/controller. Not sure if it's necessary to allow a combination though.
sm_consume and sm_inject commands now have a "--pure" option, which tells it to use the pure gearmand client/worker interface and issue requests via the injector/controller workers. This all works, except now QueueRunner needs to be adjusted to properly handle when to send requeued jobs through the injector worker. May have to add a flags field to the DB to indicate what we want to do with the job. Another (grosser?) option is to look for the 'inject_jobs' queue from the gearman status command.
Also makes everything runnable. The new workers have not been tested yet, but they start now. Refactored the main example app to be more like Notschwartzman, so it's easier to start up all the required workers. Need to write another pair of "pure gearman" example client/workers to test with.
::Worker "client" code should just be more options for ::Client, so remove that. Add the "Controller" worker, which takes the payload of an immediately scheduled job and synchronously runs it against its proper function name. This is the second half of the "Pure gearman client" persistent job mode.
Refactor the injector job to be closer to what I want (an object, but not a way of life). Need to go over notschwartzman more closely to make sure the logic is correct for this and the complement worker.
does a shorter future requeue if gearmand's queues are too backed up for more jobs.
funcname, run_after is not the right index anymore :)
Also add sm_inject and make the ::Client work.