1518 Commits (e6f153ee864b0215d95c6d3fd666f30637d2cbd9)
 

Author SHA1 Message Date
Selwin Ong dc09676ee0 Minor copywriting fixes. 10 years ago
Selwin Ong 01ab2f20dd Minor copywriting fixes. 10 years ago
Vincent Driessen 543bcbc60b Explicitly cast map() result to a list, for Python 3 compat. 10 years ago
Selwin Ong eae2c40ea0 Merge pull request #457 from jlopex/block_until_horse_finishes
Make parent worker process wait until horse process finishes
10 years ago
Selwin Ong 0a0a81da6d Merge pull request #463 from conslo/skip-queue
Skip queue
10 years ago
Selwin Ong 31dcb572a7 Merge pull request #434 from jtushman/redis-based-shutdown
triggering shutdown by setting a redis flag
10 years ago
Mark LaPerriere e6c32edad9 add birth_date and death_date properties to Worker 10 years ago
Jonathan Tushman 60c27d5a27 fixing xrange for python3 compatability 10 years ago
Jonathan Tushman 1ae5a12a81 merging master 10 years ago
Jonathan Tushman ccd41396f6 adding suspend with duration test 10 years ago
Travis Johnson 2667088b68 changed the kwarg, but forgot to change the test 10 years ago
Travis Johnson add4d625b6 Merge branch 'nvie' into skip-queue
Conflicts:
	rq/queue.py
10 years ago
Vincent Driessen cd0c3c9c1e Merge pull request #462 from conslo/worker-hash
Worker hash
10 years ago
Jonathan Tushman 82333d2ad5 triggering shutdown by setting a redis flag 10 years ago
Travis Johnson db75958ad2 use 'at_front' instead of 'skip_queue' 10 years ago
Selwin Ong e1801c5c44 Merge pull request #453 from glaslos/job_ttl
TTL for jobs
10 years ago
Selwin Ong 81dd6ab331 Merge pull request #456 from negz/registry-cleanup-race
Registry cleanup race
10 years ago
Travis Johnson ac61f502a1 skip_queue functionality 10 years ago
Travis Johnson f60e4884df a comment typo 10 years ago
Travis Johnson d4b72d330d test for skip_queue mechanics 10 years ago
Travis Johnson 6ef9177a7d 2.6 compatible set syntax 10 years ago
Travis Johnson 0ad4cb3410 comments 10 years ago
Travis Johnson c301369c2e implement __eq__ and __hash__ for workers 10 years ago
Travis Johnson de72f98fbe test for workers equality 10 years ago
Nic Cope 09cab7a90d Allow maximum job age to be specified when cleaning up or getting expired jobs from a registry.
This ensures that all jobs cleaned from a started registry end up in the failed queue.
10 years ago
Javier Lopez fc5295edfc Set busy state on parent while waiting for horse 10 years ago
Nic Cope 6ab7070a92 Rename registry timeout to registry ttl
This matches job.cleanup() better and (I think) makes the purpose slightly clearer.
10 years ago
Nic Cope 9f699d758d Any negative number should cause a job to live forever in a registry.
While the documentation explicitly mentions ttl=-1, this matches better the behaviour of the job.cleanup() method.
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
Selwin Ong 2091c601b1 Merge pull request #451 from conslo/depend-on-unsaved-job-ids
Depend on unsaved job ids
10 years ago
Selwin Ong e3fb606a19 Merge pull request #455 from negz/spotify-freeze
Ensure the FinishedJobRegistry honors an 'infinite' result_ttl of -1
10 years ago
Nic Cope 8fa184b86b Ensure the FinishedJobRegistry honors an 'infinite' result_ttl of -1 10 years ago
glaslos 55c541bc59 added job ttl to queue.enqueue() 10 years ago
Travis Johnson b14f739dfe no need for that save anymore 10 years ago
Travis Johnson af4b0436c1 instantiate a job instead of fetch
this removes the need for the depended on job.id already being saved
10 years ago
Selwin Ong 786d3c5887 Merge pull request #445 from conslo/patch-1
allow depends_on to be a job id or a job itself
10 years ago
Travis Johnson 82729c98dc test for id based job dependancies 10 years ago
Travis Johnson 629b392924 add PyCharm .idea folder to .gitignore 10 years ago
Travis Johnson 14d1186241 use internal job_class for check 10 years ago
Bradley Young 5caccaabfe Adding optional list handling to the exc_handler option in Worker.
Adding command line --exception_handler option (with multiple entries allowed) to `rq worker`
Added tests for command line options.
10 years ago
Travis Johnson 3467868f1f allow depends_on to be a job id or a job itself
Other parts of the code (i.e.: the `.create()` method) allow the `depends_on` kwarg to be a `Job` object *or* a job id. This is an attempt to allow that same idea within the `.enqueue_call()` method for a queue. Since this part of the code requires actually knowing the precise redis key for the job that's depended on, my intuition is that a `.fetch()` is the only way to solve this.
10 years ago
Selwin Ong 0dbe68527c Merge pull request #431 from negz/worker-redis-bug
Pass the default worker connection into the started and finished registries
10 years ago
Selwin Ong 51f641698d Merge pull request #438 from adamwen829/master
fix issue #437
10 years ago
Adam Wen f5001a0e36 fix decode error in py3. 10 years ago
Adam Wen 1795e1ee53 fix decode 10 years ago
Adam Wen cd0230cae3 make job description unicode friendly 10 years ago
Nic Cope de0b501823 Pass the default worker connection into the started and finished registries
In practice all the registry methods are called with pipelines, but if no
connection is passed in when instantiating the registry and the connection
stack is empty resolve_connection will raise NoRedisConnectionException.
10 years ago
Selwin Ong ae7b5f60db Merge pull request #424 from techtonik/patch-1
README.md: Fix Rescue URL
10 years ago
anatoly techtonik 79f169734a README.md: Fix Rescue URL 10 years ago