1230 Commits (09697e567f18590e31f8faad3c2f71e7b2f41659)
 

Author SHA1 Message Date
Vincent Driessen 7fff52d99c Get rid of ugly custom assertion. 13 years ago
Vincent Driessen fcca48a9d7 Rename empty property -> is_empty() method. 13 years ago
Vincent Driessen 9986fee00e Pass test output through rg. 13 years ago
Vincent Driessen 4d2f64d4b6 Mental note to self. 13 years ago
Vincent Driessen 20e908039f Initially set the exc_info property, so it does not raise an
AttributeException when accessed.
13 years ago
Vincent Driessen fdce187c27 Putting failed jobs on the failure queue. 13 years ago
Vincent Driessen 7eb8d92605 Put unreadable tasks on the failure queue. 13 years ago
Vincent Driessen 0be1cb6ac0 Change the way jobs are pickled.
There is no job tuple anymore, but instead Jobs are picklable by
themselves natively.  Furthermore, I've added a way to annotate Jobs
with created_at and enqueued_at timestamps, to drive any future Job
performance stats.  (And to enable requeueing, while keeping hold of the
queue that the Job originated from.)

This fixes #17.
13 years ago
Vincent Driessen 0503eb2829 Clarified responsibility of the Job class.
The Job itself has nothing to do with queueing and dequeueing, so the
DequeueError wasn't appropriate here, either.
13 years ago
Vincent Driessen db5753b0d6 Put Job in its own file. 13 years ago
Vincent Driessen 1f64157c38 Broke down tests into multiple files. 13 years ago
Vincent Driessen 210477c2ab Throw DequeueError when reading unprocessable data from queue. 13 years ago
Vincent Driessen aa2c9e85eb Use 'busy' and 'idle' to replace the unicode symbols. 13 years ago
Vincent Driessen cce85c11c5 Fix missing import statement. 13 years ago
Vincent Driessen 62ae299114 Fix mathematical meaning of the < operator.
This is used for alphabetical queue ordering.
13 years ago
Vincent Driessen aa030e0e36 Fix syntax error inside shell script. 13 years ago
Vincent Driessen e992d65a30 Add RPM dependencies. 13 years ago
Vincent Driessen a111db13fd Allow users to specify the import path manually, if the default (current
working directory) is undesired.
13 years ago
Vincent Driessen 2ac6c1faa3 Allow includes from the local directory by default.
Will build in a flag in the future to be able to disallow this.
13 years ago
Vincent Driessen 7be878aed7 Allow specification of DB.
(And fix the worker actually being able to connect to a different
database.)
13 years ago
Vincent Driessen 5c6f002878 Silently pass when trying to kill child that is already dead.
This fixes #16.
13 years ago
Vincent Driessen 039a132374 Add ellipsis, to indicate we're waiting here. 13 years ago
Vincent Driessen b27786332c Also use argparse for the rqworker. 13 years ago
Vincent Driessen 903f1b9f46 Fix command description. 13 years ago
Vincent Driessen 27ddde2008 Make procname a hard dependency. 13 years ago
Vincent Driessen 2ff383162c Fix bug #15. 13 years ago
Vincent Driessen da228dd76c Fix casing. 13 years ago
Vincent Driessen 2300338893 Update dependencies accordingly 13 years ago
Vincent Driessen 1dba21f176 Add --host and --port options to specify what Redis to use. 13 years ago
Vincent Driessen 56d05c3509 Replace optparse with the more flexible argparse.
We now have real subcommands.
13 years ago
Vincent Driessen c820ba24fa Move to Alpha stage. 13 years ago
Vincent Driessen 66775b7012 Put the version number somewhere central. 13 years ago
Vincent Driessen e49e0135bc Update Trove classifiers. 13 years ago
Vincent Driessen bf6347e78e Inverse the --graph option (and rename to --raw). 13 years ago
Vincent Driessen b1f571e920 Move function up. 13 years ago
Vincent Driessen 2c72d94ebd Run class initializations only once. 13 years ago
Vincent Driessen 373aeb214e Getting the facts right here. 13 years ago
Vincent Driessen 767ad519c2 Fix code 13 years ago
Vincent Driessen 068db4cb35 Shut up logbook during tests. 13 years ago
Vincent Driessen 4eb8425acc Copy-paste README doc from gh-pages. 13 years ago
Vincent Driessen aecb0a1bf0 Simplify calling .work() or .work(burst=True). 13 years ago
Vincent Driessen 636b6690d6 Add the signal name to the debug message. 13 years ago
Vincent Driessen a154ef0bd9 Remove comment.
This ain't the right way to terminate when blocking by pop.
13 years ago
Vincent Driessen 253f1752b8 Shorter logbook format on standard output, for readability.
Still, the original output can be seen using the `--verbose` flag.
13 years ago
Vincent Driessen 62949c9adb Extra debug output. 13 years ago
Vincent Driessen dde3ea8ef7 Take down horse process when the worker is terminated. 13 years ago
Vincent Driessen 4ac243b3e8 Print what signal was received in a debug statement. 13 years ago
Vincent Driessen 7769d9875f Perform a warm shutdown on SIGTERM, too.
Just like with Ctrl+C (SIGINT), shutdown warmly at first when kill'ed
(SIGTERM).
13 years ago
Vincent Driessen 3ecda16665 Fix output. 13 years ago
Vincent Driessen 7841e23cc4 Add procname dependency.
Eventually, this will be optional, but for now, include it as there
actually *is* a dependency.
13 years ago