Vincent Driessen
c642df93b9
Don't use dict comprehension. It's Python 2.7 only.
...
This fixes #51 .
13 years ago
Vincent Driessen
b0c9ab168d
Never refresh when stdout is not a TTY.
...
This fixes #43 .
13 years ago
Vincent Driessen
59aebf8676
Don't filter when no queues are explicitly specified.
...
This caused the workers from omitting empty queues from workers, as if
they were not listening on them.
13 years ago
Vincent Driessen
2e5f537abd
Rewrite rqinfo to start polling by default.
...
The options to show only partial info (only workers, only queues) are
kept, but not default anymore. This makes the default invocation
(without args) the most useful one.
The default refresh interval is 2.5 seconds.
This fixes #42 .
13 years ago
Vincent Driessen
a7c229ddb1
Reflect new API in the RQ scripts.
13 years ago
Vincent Driessen
6f05e03293
Clean up some of the dummy jobs used for testing.
...
Also, add a random_failure test.
13 years ago
Vincent Driessen
63ef198fd6
Improve work generator.
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
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
b27786332c
Also use argparse for the rqworker.
13 years ago
Vincent Driessen
903f1b9f46
Fix command description.
13 years ago
Vincent Driessen
2ff383162c
Fix bug #15 .
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
bf6347e78e
Inverse the --graph option (and rename to --raw).
13 years ago
Vincent Driessen
b1f571e920
Move function up.
13 years ago
Vincent Driessen
aecb0a1bf0
Simplify calling .work() or .work(burst=True).
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
d291f1dc4a
Text fix.
13 years ago
Vincent Driessen
ec4da2b3ad
Add sort-by-queue flag.
13 years ago
Vincent Driessen
0f38cfdd84
Add rqinfo -w command, to monitor active workers.
13 years ago
Vincent Driessen
4ad6281641
Rewrite the ANSI color formatter a bit.
13 years ago
Vincent Driessen
aebfe74630
Add polling/scaling graphs.
13 years ago
Vincent Driessen
15c4efd2e1
Generate less intensive work.
13 years ago
Vincent Driessen
a905961f94
Add some sample scripts.
13 years ago
Vincent Driessen
a029e5437b
Add beginnings of a rqworker script.
13 years ago