liangsijian
4875331b60
Optimize job.dependency
...
job.refresh has been call in job.fetch
8 years ago
Alexey Katichev
a0113c83cf
introduce job.update_meta() to store updated meta to Redis ( #823 )
...
* introduce job.update_meta() to store updated meta to Redis
This closes nvie/rq#811
* rename update_meta to save_meta
8 years ago
Selwin Ong
5660f925ae
Merge pull request #788 from friedcell/master
...
Better support for async job payloads
8 years ago
Selwin Ong
f760fcb20f
job.delete() should cleans itself from FailedQueue and various registries.
8 years ago
Marko Mrdjenovic
c8a955fbb1
Merge commit '83007b20740a97f085a14d3840d1e434350c6600'
...
# Conflicts:
# rq/queue.py
8 years ago
Selwin Ong
83007b2074
Merge pull request #786 from jezdez/backend-class-overrides
...
Allow passing backend classes from CLI and other APIs
8 years ago
Marko Mrdjenovic
35fb6b0b9a
move actual execute to a separate method to make it easier to run async jobs
8 years ago
Benjamin Root
efb30b45a3
Take a different tack, and enable the exclusion of meta from saves
8 years ago
Jannis Leidel
c019662430
Allow passing backend classes (job, queue, worker, connection) from CLI and other APIs
...
This includes:
- a partial refactor of the CLI to organize the shared options
- extends the tests in areas where passing custom backend classes makes sense
- allow setting the core CLI options as env vars
- minor cosmetic changes here and there
8 years ago
Stefan Hammer
f9bff3d12b
Merge branch 'master' into 739_fix_race_condition
8 years ago
Vincent Driessen
af6ce54ea4
Fix PEP8 complaints
8 years ago
Stefan Hammer
67ae9277e5
completely pipelined enqueue_dependents
9 years ago
Javier Lopez
8e24d3a92d
job.py: Fix cancel failure on failed queue
9 years ago
Selwin Ong
8b7b0e5584
Merge pull request #701 from jlopex/javi/fix_issue_700
...
Fixes issue #700
9 years ago
Javier Lopez
c5e62c70bb
job.py: Use fetch to get a complete Job instance
9 years ago
amyangfei
724c844378
Don't call job.cancel if job has finished
9 years ago
zfz
c2374c8035
Correct the comment of job's requeue function.
9 years ago
Selwin Ong
2485334100
Merge pull request #609 from tornstrom/master
...
Allow meta when enqueing
9 years ago
SkyLothar
70b5554566
make sure exc_info is text type
9 years ago
Tornstrom
50a114a0a8
Allow meta when enqueing
9 years ago
Selwin Ong
45addbcaf2
Deleted job.set_started_at_now.
9 years ago
Selwin Ong
364919c7c8
Moved job.hset_value to connection._hset.
9 years ago
Selwin Ong
5afd1a90e5
Merge pull request #589 from samuelcolvin/job-started_at
...
add job.started_at
9 years ago
Samuel Colvin
6fc34dc6a6
moving started_at to prepare_job_execution
9 years ago
glaslos
0a6df13d9d
delete dependents and delete in cleanup. Fixed tests.
9 years ago
glaslos
d2eeb3b3db
job.cancel before delete and doc string fixes
9 years ago
glaslos
02844034d7
Merge branch 'master' into cancel_remove
9 years ago
glaslos
5a3bebf85b
only remove from queue on job.cancel
9 years ago
Samuel Colvin
082e61a212
add job.started_at
9 years ago
likeon
fc4124e39c
Fixes Job.__eq__ crash when other object doesn't have id attribute
10 years ago
Vincent Driessen
94258761ae
Make string formatting consistent
10 years ago
Marcus Martins
513f6310d2
Change default TTL to None insted of -1
10 years ago
Marcus Martins
5b8726ad2d
Fixes #502
...
Fixes some broken tests and misbehaviour with ttls. There was a temporal
coupling between saving the job and setting its expires parameter.
10 years ago
Neal Todd
bac6699ea4
Allow non-ASCII characters in keyword arguments.
10 years ago
Selwin Ong
cff6fbff41
Merge pull request #477 from glaslos/ttl_tests_fixes
...
TTL tests and fixes
10 years ago
glaslos
071c47dacb
hard-coded TTL to -1 on job.perform()
...
Removed merge artifacts
10 years ago
Serhii Maltsev
91f263d8e0
change try/except in python2/3 compatibility to to_text()
10 years ago
glaslos
3d4d6a86d5
persist the job right before execution
10 years ago
alternativshik
219f21b637
Allow non-ASCII characters in arguments
...
get_call_string() failed if any arguments contained non-ASCII strings.
Fixes #406
10 years ago
Vincent Driessen
fac2b10309
Auto-sort imports using isort.
10 years ago
Selwin Ong
dac0be6cc7
Added DeferredJobsRegistry to keep track of deferred jobs.
10 years ago
Selwin Ong
3e674fbe6a
queue.enqueue() should set job.origin.
10 years ago
Selwin Ong
7fd2ac8ca6
Added "DEFERRED" Job status for jobs that have unsatisfied dependencies.
10 years ago
Jonathan Tushman
1ae5a12a81
merging master
10 years ago
Jonathan Tushman
82333d2ad5
triggering shutdown by setting a redis flag
10 years ago
glaslos
c6a83eaa82
calling self.cleanup to set job expiration
10 years ago
glaslos
8a3fd91e2e
renaming job.job_ttl to job.ttl
10 years ago
glaslos
55c541bc59
added job ttl to queue.enqueue()
10 years ago
zhangliyong
f9511664c8
Make flake8 happy :)
10 years ago
Selwin Ong
202be75b21
Merge pull request #415 from foxx/feature/custom-job-ids
...
Allow job ID to be set on enqueue/enqueue_call() - fixes #412
10 years ago