resque-workers-lock 1.7 → 1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/README.md +3 -20
  2. metadata +3 -2
data/README.md CHANGED
@@ -5,6 +5,8 @@ This is a [resque](https://github.com/defunkt/resque) plugin inspired by [resque
5
5
  gem 'resque-workers-lock'
6
6
  ```
7
7
 
8
+ **Important notice** - As of version 1.7, Resque Workers Lock no longer includes a enqueue lock but focusses solely on a workers lock. If you're also looking for enqueue lock functionality, just add [resque-lock](https://github.com/defunkt/resque-lock) or another plugin in the mix.
9
+
8
10
  ## What does it do?
9
11
  If resque jobs have the same lock applied this means that those jobs cannot be processed simultaneously by two or more workers. When this situation occurs the second job gets pushed back to the queue.
10
12
 
@@ -61,25 +63,6 @@ Please note that setting this value to 5 seconds will keep the worker idle for 5
61
63
  ## Possibilities to prevent the loop
62
64
  Do a delayed resque (re)queue. However, this will have approximately the same results and will require a large extra chunk of code and rake configurations.
63
65
 
64
- ## Run workers for the test
65
- To run the tests using `rake test` properly, make sure there are a few workers running:
66
- ```
67
- $ redis-server
68
- $ VVERBOSE=1 COUNT=4 QUEUE=* rake resque:work
69
- ```
70
-
71
- ```
72
- ➜ resque-workers-lock git:(master) ✗ rake test
73
- Run options:
74
-
75
- # Running tests:
76
-
77
- ...
78
-
79
- Finished tests in 10.426519s, 0.2877 tests/s, 0.3836 assertions/s.
80
-
81
- 3 tests, 4 assertions, 0 failures, 0 errors, 0 skips
82
- ```
83
-
84
66
  ## Authors/Contributors
85
67
  [nicholaides](https://github.com/nicholaides)
68
+ [jgarber](https://github.com/jgarber)
metadata CHANGED
@@ -1,16 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque-workers-lock
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.7'
4
+ version: '1.8'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Bart Olsthoorn
9
9
  - Mike Nicholaides
10
+ - Jason Garber
10
11
  autorequire:
11
12
  bindir: bin
12
13
  cert_chain: []
13
- date: 2012-12-19 00:00:00.000000000 Z
14
+ date: 2013-02-04 00:00:00.000000000 Z
14
15
  dependencies:
15
16
  - !ruby/object:Gem::Dependency
16
17
  name: resque