Commit Graph

484 Commits

Author SHA1 Message Date
Vincent Driessen 2e9fa1d0a7 Release 0.3.8. 2013-07-04 10:43:19 +02:00
Vincent Driessen 83496fef32 Merge pull request #214 from Plexical/write-pid-file
Writes an optional specified PID file on startup
2013-06-18 06:57:44 -07:00
Jacob Oscarson 5505291818 Polished help message for PID file specification 2013-06-17 10:39:13 +02:00
Jacob Oscarson 995554cdd2 Removed alternative parameters for PID file creation 2013-06-17 10:26:22 +02:00
Vincent Driessen 06f5d90587 Merge pull request #224 from oniltonmaciel/master
Replaced limit by length and start by offset to remove a possible ambiguity
2013-06-16 23:19:22 -07:00
Onilton Maciel 3afc32f08a End calculation in get_jobs_ids in fixed. Length is respected 2013-06-16 18:11:03 -04:00
Onilton Maciel 97de8ea3cc Fixed typos and errors found. Tests passing now 2013-06-16 17:45:04 -04:00
oniltonmaciel 5cfbae61a9 Replaced limit by length and start by offset
Replaced limit by length and start by offset to remove a possible ambiguity
2013-06-16 17:38:25 -04:00
Vincent Driessen d23963a973 Merge pull request #222 from jpunwin/master
Workaround getting isatty from a poorly implemented stdout object
2013-06-10 15:44:54 -07:00
Justin Unwin af04545bbf Ok i am being lazy using the try catch 2013-06-11 00:07:53 +02:00
Justin Unwin 17be896744 Fix a problem caused when a nonstandard stdout is defined and not
properly implemented
2013-06-10 22:51:49 +02:00
Jacob Oscarson 72d219a24c Writes an optional specified PID file on startup 2013-05-15 15:40:35 +02:00
Vincent Driessen 7ea02d4029 Add explicit classmethod test. 2013-04-19 21:21:53 +02:00
Vincent Driessen a5dff6659c Replace the Calculator fixture by a Number fixture.
This makes the tests a little more realistic, since I want to add a test
for class methods.
2013-04-19 21:18:25 +02:00
Vincent Driessen 89293353d6 Update changelog. 2013-04-19 10:55:17 +02:00
Vincent Driessen 73b7453e40 Fix typo. 2013-04-19 10:29:43 +02:00
Vincent Driessen 2fb6e5ca1a Minor refactoring of the paging logic. 2013-04-19 10:29:43 +02:00
Alex Morega e3075ea6be get a page of jobs 2013-04-19 10:29:43 +02:00
Alex Morega ef0f04bff6 extract `safe_fetch_job` method 2013-04-19 10:29:43 +02:00
Vincent Driessen 0f804e07ae Merge pull request #198 from johannth/scripts-respect-url
Made rqworker and rqinfo respect db parameters from --url
2013-04-19 01:14:05 -07:00
Jóhann Þorvaldur Bergþórsson 7660fbdc18 Made rqworker and rqinfo respect db parameters from --url
When starting the rqworker and rqinfo scripts with an --url parameter containing a non default database, e.g. redis://localhost:6379/2, both scripts connected db 0 instead of the desired database. Fixed this behavior by ignoring the --host, --port and --db arguments if --url is there.

Also fixed another issue with the rqinfo script, in which it defaulted to only the 'default' queue instead of finding all available queues using Queue.all().
2013-03-31 08:28:15 +00:00
Vincent Driessen bf802a15be Merge pull request #194 from selwin/master
Job.create should allow args to be passed in list format
2013-03-17 20:04:01 -07:00
Selwin Ong a0c9267550 Job.create should also accept arguments in list format. 2013-03-18 09:57:13 +07:00
Vincent Driessen 7c63b72c99 Update CHANGELOG. 2013-03-16 07:08:01 -07:00
Vincent Driessen 067a1760ed Merge branch 'Plexical-config-socket' 2013-03-16 06:55:01 -07:00
Vincent Driessen f317a3d94d Remove test cases for the Unix socket config setting.
This is mostly something you would want to test in the redis-py project,
not in RQ.  The test cases make it a bit complex to read them and they
falsely suggest something interesting might be going on in them.
2013-03-16 06:53:01 -07:00
Vincent Driessen d15fee2cfb Merge pull request #193 from brutasse/feature/sentry-dsn-env
Ability to get SENTRY_DSN from the environment variables
2013-03-16 06:49:02 -07:00
Vincent Driessen d9a122355c Merge pull request #192 from brutasse/fix/packaging-tests
Added a MANIFEST excluding tests from distribution
2013-03-16 06:48:47 -07:00
Bruno Renié 7a8fe6be30 Ability to get SENTRY_DSN from the environment variables 2013-03-16 10:41:14 +01:00
Bruno Renié df347fb654 Added a MANIFEST excluding tests from distribution
Otherwise find_packages() sees tests/ as something that must be installed.
Currently installing `rq` creates a `tests` directory in `site-packages`,
conflicting with projects having a local `tests` directory like rq does :)
2013-03-16 10:31:02 +01:00
Jacob Oscarson 11b2cf2bd5 Perform actual connection (+ increase test coverage) 2013-03-15 15:23:54 +01:00
Jacob Oscarson ef43790ba2 Better placing + testability of socket as a cli parameter 2013-03-15 15:00:10 +01:00
Jacob Oscarson 02288dd048 Optionally configure connection as path to Unix socket (tbd: actual connection) 2013-03-15 10:48:10 +01:00
Vincent Driessen 5a5e14cc70 Merge branch 'hotfix/0.3.7'
Conflicts:
	CHANGES.md
	rq/version.py
2013-02-26 11:46:41 +01:00
Vincent Driessen 93ba0b4d6e Bump version to 0.3.7. 2013-02-26 11:43:31 +01:00
Vincent Driessen 66741fff7b Fix bug where workers would not execute builtin functions properly. 2013-02-26 11:42:52 +01:00
Vincent Driessen 9633d36e85 Merge branch 'selwin-master' 2013-02-23 22:16:48 +01:00
Vincent Driessen 5289647970 Remove unused import. 2013-02-23 22:05:28 +01:00
Selwin Ong 85e9014296 Moved some logic from worker.perform_job() to job.cleanup(). 2013-02-23 14:23:23 +07:00
Vincent Driessen decb626c8e Remove .env.fish. 2013-02-19 09:14:41 +01:00
Vincent Driessen 6485fe094d Prepare for next 0.3.x version. 2013-02-18 08:10:47 +01:00
Vincent Driessen d5f1740c3d Bump version to 0.3.6. 2013-02-18 08:09:06 +01:00
Vincent Driessen ad61c45f2f Update changelog. 2013-02-18 08:01:12 +01:00
Vincent Driessen a04169e561 Allow rqworker to run more silently. 2013-02-18 07:55:35 +01:00
Vincent Driessen 8005759cce Merge pull request #181 from selwin/del-on-nosuchjob
Safe fetching a deleted job removes the deleted job from queue.
2013-02-16 07:45:32 -08:00
Selwin Ong c987569650 Safe fetching a deleted job removes the deleted job from queue. 2013-02-16 18:50:37 +07:00
Vincent Driessen 501a3870e1 Ignore a job when there isn't a "data" key available. 2013-02-15 10:51:47 +01:00
Vincent Driessen 223e09f4fe Add rq.contrib.legacy.cleanup_ghosts() function, to clean up old mess. 2013-02-15 09:28:13 +01:00
Vincent Driessen f1d3da8ba2 Update changelog. 2013-02-15 08:53:45 +01:00
Vincent Driessen d39badb4cc Prevent the use of indefinite timeouts.
Using them would really mess with the new expiring worker keys (they
would disappear, even though the workers aren't dead).
2013-02-15 08:50:30 +01:00