Justin Unwin
af04545bbf
Ok i am being lazy using the try catch
12 years ago
Justin Unwin
17be896744
Fix a problem caused when a nonstandard stdout is defined and not
...
properly implemented
12 years ago
Devi
a0d46c93f3
take REDIS_URL from settings if exists
12 years ago
Jacob Oscarson
72d219a24c
Writes an optional specified PID file on startup
12 years ago
Selwin Ong
6ee45597ca
Don't fail if job dependency is modified during enqueue process.
12 years ago
Selwin Ong
e7e8579888
Merge branch 'master' of git://github.com/nvie/rq into job_dependency
...
Conflicts:
rq/queue.py
12 years ago
Selwin Ong
2e826e2b1f
Internally renamed the term "parent" to "dependency".
12 years ago
Selwin Ong
0dfb041383
Simplify enqueue_waitlist by using lpop.
12 years ago
Selwin Ong
18ff57ef35
Avoid race conditions when enqueueing job with dependency.
12 years ago
Vincent Driessen
7ea02d4029
Add explicit classmethod test.
12 years ago
Vincent Driessen
a5dff6659c
Replace the Calculator fixture by a Number fixture.
...
This makes the tests a little more realistic, since I want to add a test
for class methods.
12 years ago
Vincent Driessen
89293353d6
Update changelog.
12 years ago
Vincent Driessen
73b7453e40
Fix typo.
12 years ago
Vincent Driessen
2fb6e5ca1a
Minor refactoring of the paging logic.
12 years ago
Alex Morega
e3075ea6be
get a page of jobs
12 years ago
Alex Morega
ef0f04bff6
extract `safe_fetch_job` method
12 years ago
Vincent Driessen
0f804e07ae
Merge pull request #198 from johannth/scripts-respect-url
...
Made rqworker and rqinfo respect db parameters from --url
12 years ago
Selwin Ong
6550f86646
Don't enqueue waitlisted jobs on failed execution.
12 years ago
Selwin Ong
eadc7db29f
First stab at writing implementing job dependency.
12 years ago
Jóhann Þorvaldur Bergþórsson
7660fbdc18
Made rqworker and rqinfo respect db parameters from --url
...
When starting the rqworker and rqinfo scripts with an --url parameter containing a non default database, e.g. redis://localhost:6379/2, both scripts connected db 0 instead of the desired database. Fixed this behavior by ignoring the --host, --port and --db arguments if --url is there.
Also fixed another issue with the rqinfo script, in which it defaulted to only the 'default' queue instead of finding all available queues using Queue.all().
12 years ago
Vincent Driessen
bf802a15be
Merge pull request #194 from selwin/master
...
Job.create should allow args to be passed in list format
12 years ago
Selwin Ong
a0c9267550
Job.create should also accept arguments in list format.
12 years ago
Vincent Driessen
7c63b72c99
Update CHANGELOG.
12 years ago
Vincent Driessen
067a1760ed
Merge branch 'Plexical-config-socket'
12 years ago
Vincent Driessen
f317a3d94d
Remove test cases for the Unix socket config setting.
...
This is mostly something you would want to test in the redis-py project,
not in RQ. The test cases make it a bit complex to read them and they
falsely suggest something interesting might be going on in them.
12 years ago
Vincent Driessen
d15fee2cfb
Merge pull request #193 from brutasse/feature/sentry-dsn-env
...
Ability to get SENTRY_DSN from the environment variables
12 years ago
Vincent Driessen
d9a122355c
Merge pull request #192 from brutasse/fix/packaging-tests
...
Added a MANIFEST excluding tests from distribution
12 years ago
Bruno Renié
7a8fe6be30
Ability to get SENTRY_DSN from the environment variables
12 years ago
Bruno Renié
df347fb654
Added a MANIFEST excluding tests from distribution
...
Otherwise find_packages() sees tests/ as something that must be installed.
Currently installing `rq` creates a `tests` directory in `site-packages`,
conflicting with projects having a local `tests` directory like rq does :)
12 years ago
Jacob Oscarson
11b2cf2bd5
Perform actual connection (+ increase test coverage)
12 years ago
Jacob Oscarson
ef43790ba2
Better placing + testability of socket as a cli parameter
12 years ago
Jacob Oscarson
02288dd048
Optionally configure connection as path to Unix socket (tbd: actual connection)
12 years ago
Vincent Driessen
5a5e14cc70
Merge branch 'hotfix/0.3.7'
...
Conflicts:
CHANGES.md
rq/version.py
12 years ago
Vincent Driessen
93ba0b4d6e
Bump version to 0.3.7.
12 years ago
Vincent Driessen
66741fff7b
Fix bug where workers would not execute builtin functions properly.
12 years ago
Vincent Driessen
9633d36e85
Merge branch 'selwin-master'
12 years ago
Vincent Driessen
5289647970
Remove unused import.
12 years ago
Selwin Ong
85e9014296
Moved some logic from worker.perform_job() to job.cleanup().
12 years ago
Vincent Driessen
decb626c8e
Remove .env.fish.
12 years ago
Vincent Driessen
6485fe094d
Prepare for next 0.3.x version.
12 years ago
Vincent Driessen
d5f1740c3d
Bump version to 0.3.6.
12 years ago
Vincent Driessen
ad61c45f2f
Update changelog.
12 years ago
Vincent Driessen
a04169e561
Allow rqworker to run more silently.
12 years ago
Vincent Driessen
8005759cce
Merge pull request #181 from selwin/del-on-nosuchjob
...
Safe fetching a deleted job removes the deleted job from queue.
12 years ago
Selwin Ong
c987569650
Safe fetching a deleted job removes the deleted job from queue.
12 years ago
Vincent Driessen
501a3870e1
Ignore a job when there isn't a "data" key available.
12 years ago
Vincent Driessen
223e09f4fe
Add rq.contrib.legacy.cleanup_ghosts() function, to clean up old mess.
12 years ago
Vincent Driessen
f1d3da8ba2
Update changelog.
12 years ago
Vincent Driessen
d39badb4cc
Prevent the use of indefinite timeouts.
...
Using them would really mess with the new expiring worker keys (they
would disappear, even though the workers aren't dead).
12 years ago
Vincent Driessen
e0866cdc6c
Log the act of sending a heartbeat (DEBUG level).
12 years ago