1354 Commits (d9798fd64f9811d0f076ba09d40e3374e5841609)
 

Author SHA1 Message Date
SkyLothar 70b5554566 make sure exc_info is text type 9 years ago
SkyLothar f9978bc27c make sure state 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 10f615f4fe Reverted click requirement back to >= 3.0 9 years ago
Selwin Ong 961e443611 Merge pull request #619 from foxx/patch-1
Fixes #613
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
Cal Leeming e76bde9bc0 Fix broken tests 9 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.
9 years ago
Selwin Ong 8bbd833855 Merge pull request #600 from glaslos/cancel_remove
Cancel and Delete differences
9 years ago
Selwin Ong 702dfd2c31 Merge pull request #611 from ahxxm/delay-task
depreciation fixes
9 years ago
Selwin Ong 73d0dda516 Merge pull request #581 from mgk/master
export worker id and job id as env vars to work horse
9 years ago
Michael Keirnan 14723ecc1f Merge remote-tracking branch 'upstream/master' 9 years ago
ahxxm 95e06818d9 ignore IDE cache folder 9 years ago
ahxxm b06f112cb0 fix tests
syntax: assertEquals -> assertEqual, assertNotEquals -> assertNotEqual
usage: status of worker and job now will use get/set method instead of property method
9 years ago
Selwin Ong 91177b7317 Merge pull request #601 from glaslos/registry_cleanup_log_msg
log.info added when cleaning registries
9 years ago
Selwin Ong 9f9a5650aa Merge pull request #599 from kfrendrich/master
rqinfo config parameter
9 years ago
glaslos a424d320a8 log.info added when cleaning registries 9 years ago
Karoly Frendrich ca069e5112 rqinfo config parameter 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
Selwin Ong bd7b642251 Merge pull request #594 from horida/master
mark as busy before forking horse
9 years ago
horida 04987a80da mark as busy before forking horse 9 years ago
Samuel Colvin 3aa7aebf87 remove assert_dt_between from worker tests 9 years ago
Selwin Ong 95f740299a Merge pull request #588 from samuelcolvin/logging-extras
more info in 'Job OK' log entry
9 years ago
Selwin Ong aac554e349 Merge pull request #587 from samuelcolvin/signal-changes
Signal changes
9 years ago
Samuel Colvin 1349e90ba2 test docstrings, and sentinel test 9 years ago
Samuel Colvin 082e61a212 add job.started_at 9 years ago
Samuel Colvin 30c29614c6 more info in 'Job OK' log entry 9 years ago
Samuel Colvin fa48751fed correct SLOW env var, run slow tests on ci 9 years ago
Samuel Colvin aada162a4d worker shutdown tests 9 years ago
Samuel Colvin e750134e8a move request_(force_)stop out of _install_signal_handlers 9 years ago
Vincent Driessen ca235aee19 This is 0.5.6 9 years ago
Vincent Driessen c344c2f334 Add Python 3.5 unit tests 9 years ago
Selwin Ong c2f452c47a Update CHANGES.md 9 years ago
Selwin Ong 544f2e6fb2 Fixed result logging call . 9 years ago
Selwin Ong 2140cc4fab Job result should be converted to text before being logged. 9 years ago
Selwin Ong bb4336f612 Merge pull request #578 from tbaugis/master
log job result in DEBUG level and truncate to 2k symbols
9 years ago
Toms Bauģis 5a4f297134 do not truncate result output as that can be done in the log formatter 9 years ago
Michael Keirnan da7d59e1a9 Merge remote-tracking branch 'upstream/master'
* upstream/master:
  Modified patch_connection to allow Redis connection to be easily mocked.
9 years ago
Michael Keirnan bad054989d export worker id and job id to env of work horse
For tracing job execution in a distributed system it is useful to tag log
entries with the worker id and job id. The current job is accessible
via get_current_job(), but that requires an extra redis connection. And
the current worker id (the worker id of the parent process) does not appear
to be available.

Rather than introducing an `rqworker` alternative or subclassing Worker, it
feels simple and efficient to make these contextual ids available as
environment variables. This should have no performance cost and no
API compatibility issues.

Some useful things to do with these values in the worker horse process:

+ include them in log messages
+ include them as 'x-' headers in HTTP requests made by workers
9 years ago
Selwin Ong e538512c79 Merge branch 'master' of github.com:nvie/rq
Conflicts:
	tests/test_job.py
9 years ago
Selwin Ong 0e4112da7a Modified patch_connection to allow Redis connection to be easily mocked. 9 years ago
Toms Bauģis ade154575e fix travis error - python 2.6 or whatevs wants positions spelled out for .format 9 years ago
Selwin Ong 1a089887c0 Merge pull request #564 from jlopex/javi/fix_dependent_jobs_on_different_queues
support multiple queues on dependent jobs
9 years ago
Toms Bauģis 682d4adb40 log result in DEBUG level and truncate to 2k symbols 9 years ago