Commit Graph

1318 Commits (bc8d4a087ae7be0f821ac7620bf50127773f9123)
 

Author SHA1 Message Date
Selwin Ong cc5b3c1e64 Merge pull request from jlopex/javi/cancel_on_failed_queue
Fix Job.cancel() method on failed queue
Javier Lopez e92b57d128 test_job.py: Add cancel test on failed queue
Javier Lopez 8e24d3a92d job.py: Fix cancel failure on failed queue
Vincent Driessen 6a57d321f2 Ignore flake8 checks in local.py
Selwin Ong 636e34e55f Updated changelog.
Selwin Ong 7b1df1e878 Bump version to 0.6.0.
Selwin Ong 766bb60006 Merge branch 'dependent-jobs-with-result-ttl'
Selwin Ong e9d227c3df Dependent jobs are now correctly enqueued even if their parent jobs have result_ttl=0.
Selwin Ong 8b7b0e5584 Merge pull request from jlopex/javi/fix_issue_700
Fixes issue 
Selwin Ong 779a1683c7 Merge pull request from amyangfei/delete_job_fix
Don't call job.cancel if job has finished
Javier Lopez 091c2568c9 test_job.py: Add test for cancel_job function
Javier Lopez c5e62c70bb job.py: Use fetch to get a complete Job instance
amyangfei 724c844378 Don't call job.cancel if job has finished
Selwin Ong 1116089b43 Merge pull request from jlopex/fix_logging
worker.py: Fix default logging_level
Javier Lopez 3668c6f5d5 worker.py: Fix default logging_level
Selwin Ong 94dfb943b1 Merge pull request from liorsbg/master
Fix for Issue 
liorsbg 4c5d04105a Fix for
Selwin Ong cd0414361c Merge pull request from jlopex/javi/allow_quiet_worker_class
Allow Worker work method to specify the log verbosity
Javier Lopez 43cb51064a Allow Worker work method to specify the log verbosity
Selwin Ong 189a962c8d Merge pull request from ccurvey/master
have worker use the passed-in connection if provided
Chris Curvey 4326e19140 have worker use the passed-in connection if provided
Selwin Ong 4d204eed36 Merge pull request from flycutter-zfz/source_reading
Correct the comment of job's requeue function.
Selwin Ong b43ae54016 Merge pull request from kampfschlaefer/ignore_lambdas_in_flake8
Ignore lambdas in flake8
Arnold Krille 9df0a853d8 Fix indentation and newlines according to flake8
Arnold Krille c6765e12ff Move the flake8 config to setup.cfg
My editor (atom) reads the setup.cfg but doesn't parse the cmd-line args in the
tox.ini. So lets move the flake8 config to setup.cfg.
Arnold Krille eaa001c722 ignore lambdas as function definitions
zfz c2374c8035 Correct the comment of job's requeue function.
Vincent Driessen 7e93894459 Merge pull request from flycutter-zfz/source_reading
Fix the mistypo of logger str for procline.
zfz 0492eaef01 Fix the mistypo of logger str for procline.
Selwin Ong 8158a180f3 Merge pull request from redbaron4/python_2_6_log
Fix logging regression for Python-2.6
Selwin Ong af0b19e707 Merge pull request from butla/master
Worker only creates log handlers if there aren't any.
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
Selwin Ong e1e4c00a67 Merge pull request from javimb/javimb/decorator-ttl
Add ttl argument to decorator
Selwin Ong 51f7951f2e Merge pull request from antoineleclair/custom-queue-class
Worker accepts custom queue class
Antoine Leclair 81679a35d9 Merge branch 'master' into custom-queue-class
Conflicts:
	tests/test_worker.py
Selwin Ong f56383fd9b Merge pull request from VicarEscaped/VicarEscaped-patch-1
Update job status with set_status
VicarEscaped 01bd0cebd6 Update job status with set_status
Selwin Ong a986c478d0 Merge pull request from antoineleclair/test-fixes
Test fixes
Javi Imbernon 1d6c2b98b7 Add ttl argument to decorator
Antoine Leclair cc1eb9c52b Remove test that failed on Travis CI
Antoine Leclair 173417f337 Remove test that failed on Travis CI
Antoine Leclair 05ed85804c Worker accepts custom queue class
Antoine Leclair 7275f62737 Add tests for custom job class in worker
Antoine Leclair 5c72417cda Do not use deprecated assertEquals
Antoine Leclair 2f36cedd50 Typo in test docstring
Selwin Ong 640b2e31a0 Merge pull request from olingerc/warmshutdown
Save date on which a busy worker receives a warm shutdown request
Selwin Ong aea00b50c1 Merge pull request from orangain/worker-queue-names
Accept byte strings as the first argument of Worker() in Python 2
Selwin Ong 5b4c9e128c Merge pull request from orangain/patch-1
Update outdated sample codes in README.md
orangain b92bea9398 Update outdated sample codes in README.md
* Use explicit connection management instead of `use_connection()`.
* Use `rq worker` instead of `rqworker`.
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'])