1489 Commits (8432a916bd07bdad8189ad2fc6c53694c8a750ce)
 

Author SHA1 Message Date
Selwin Ong 8158a180f3 Merge pull request #666 from redbaron4/python_2_6_log
Fix logging regression for Python-2.6
9 years ago
Selwin Ong af0b19e707 Merge pull request #642 from butla/master
Worker only creates log handlers if there aren't any.
9 years ago
Dheeraj 0a49e247ea Fix logging regression for Python-2.6
logger.setLevel() doesn't work when a string is passed in Python-2.6.
This patch checks if the level has been set and if not (in Python-2.6),
tries to set it again using appropriate level constants
Also unused dictConfig import is removed
9 years ago
Selwin Ong e1e4c00a67 Merge pull request #659 from javimb/javimb/decorator-ttl
Add ttl argument to decorator
9 years ago
Selwin Ong 51f7951f2e Merge pull request #657 from antoineleclair/custom-queue-class
Worker accepts custom queue class
9 years ago
Antoine Leclair 81679a35d9 Merge branch 'master' into custom-queue-class
Conflicts:
	tests/test_worker.py
9 years ago
Selwin Ong f56383fd9b Merge pull request #661 from VicarEscaped/VicarEscaped-patch-1
Update job status with set_status
9 years ago
VicarEscaped 01bd0cebd6 Update job status with set_status 9 years ago
Selwin Ong a986c478d0 Merge pull request #656 from antoineleclair/test-fixes
Test fixes
9 years ago
Javi Imbernon 1d6c2b98b7 Add ttl argument to decorator 9 years ago
Antoine Leclair cc1eb9c52b Remove test that failed on Travis CI 9 years ago
Antoine Leclair 173417f337 Remove test that failed on Travis CI 9 years ago
Antoine Leclair 05ed85804c Worker accepts custom queue class 9 years ago
Antoine Leclair 7275f62737 Add tests for custom job class in worker 9 years ago
Antoine Leclair 5c72417cda Do not use deprecated assertEquals 9 years ago
Antoine Leclair 2f36cedd50 Typo in test docstring 9 years ago
Selwin Ong 640b2e31a0 Merge pull request #633 from olingerc/warmshutdown
Save date on which a busy worker receives a warm shutdown request
9 years ago
Selwin Ong aea00b50c1 Merge pull request #650 from orangain/worker-queue-names
Accept byte strings as the first argument of Worker() in Python 2
9 years ago
Selwin Ong 5b4c9e128c Merge pull request #651 from orangain/patch-1
Update outdated sample codes in README.md
9 years ago
orangain b92bea9398 Update outdated sample codes in README.md
* Use explicit connection management instead of `use_connection()`.
* Use `rq worker` instead of `rqworker`.
9 years ago
orangain e8165fdddf Accept byte strings as the first argument of Worker() in Python 2
This make it easy to write Python 2/3 compatible code.
e.g.

    Worker(sys.argv[1:])

    # Without from __future__ import unicode_literals
    Worker(['high', 'normal', 'low'])
9 years ago
Michal Bultrowicz fe122ac799 Worker only creates log handlers if there aren't any. 10 years ago
Selwin Ong a14041ae1a Merge pull request #640 from gisce/when_not_async_set_job_finished
When not async set job finished
10 years ago
Eduard Carreras 89facfada6 Test to ensure job is finished in not async mode 10 years ago
Eduard Carreras c27a6434a8 Set job as finished when not working in async mode 10 years ago
Selwin Ong 84b711b5a5 Merge pull request #639 from nicksnell/fix/worker-results-ttl
Correction to results-ttl value on worker command
10 years ago
Nick Snell 0e532f3ec4 Correction to worker command, cast results-ttl to int 10 years ago
Christophe Olinger b47c8efe27 Add test cases for shutdown_requested_date 10 years ago
Christophe Olinger 2be468a404 - Rename paramter both in redis and python to shutdown_requested_date
- Use connection instead of pipeline
10 years ago
Christophe Olinger ae27ce9871 Merge branch 'master' into warmshutdown 10 years ago
Selwin Ong 00645434ac Merge pull request #637 from olingerc/remove_current_job
worker left with current_job set after job exception
10 years ago
Christophe Olinger 3e586bd6d6 Add remove current_job based on the correct upstream master branch 10 years ago
Christophe Olinger d622f47aff Save date in redis on which worker receives a warm shutdown request while busy 10 years ago
Selwin Ong 2485334100 Merge pull request #609 from tornstrom/master
Allow meta when enqueing
10 years ago
Vincent Driessen 6fe277bb6c Merge pull request #628 from SkyLothar/master
make sure state and exc_info is text_type
10 years ago
SkyLothar 70b5554566 make sure exc_info is text type 10 years ago
SkyLothar f9978bc27c make sure state text_type 10 years ago
Tornstrom 50a114a0a8 Allow meta when enqueing 10 years ago
Selwin Ong 45addbcaf2 Deleted job.set_started_at_now. 10 years ago
Selwin Ong 364919c7c8 Moved job.hset_value to connection._hset. 10 years ago
Selwin Ong 10f615f4fe Reverted click requirement back to >= 3.0 10 years ago
Selwin Ong 961e443611 Merge pull request #619 from foxx/patch-1
Fixes #613
10 years ago
Selwin Ong 5afd1a90e5 Merge pull request #589 from samuelcolvin/job-started_at
add job.started_at
10 years ago
Samuel Colvin 6fc34dc6a6 moving started_at to prepare_job_execution 10 years ago
Cal Leeming e76bde9bc0 Fix broken tests 10 years ago
Cal Leeming d80f9f8ba0 Fixes #613
This has been discussed in #514, #282 and #88.

Using an explicit type check via `isinstance`, rather than duck typing, is typically considered unpythonic and breaks compatibility with mock objects such as FakeRedis. This patches removes the type check, and instead looks for a common method that should be present on the object as a hint on whether it's compatible or not.
10 years ago
Selwin Ong 8bbd833855 Merge pull request #600 from glaslos/cancel_remove
Cancel and Delete differences
10 years ago
Selwin Ong 702dfd2c31 Merge pull request #611 from ahxxm/delay-task
depreciation fixes
10 years ago
Selwin Ong 73d0dda516 Merge pull request #581 from mgk/master
export worker id and job id as env vars to work horse
10 years ago
Michael Keirnan 14723ecc1f Merge remote-tracking branch 'upstream/master' 10 years ago