resque_sqs 1.25.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/HISTORY.md +467 -0
- data/LICENSE +20 -0
- data/README.markdown +866 -0
- data/Rakefile +70 -0
- data/bin/resque-sqs +81 -0
- data/bin/resque-sqs-web +27 -0
- data/lib/resque_sqs/errors.rb +13 -0
- data/lib/resque_sqs/failure/airbrake.rb +33 -0
- data/lib/resque_sqs/failure/base.rb +73 -0
- data/lib/resque_sqs/failure/multiple.rb +59 -0
- data/lib/resque_sqs/failure/redis.rb +108 -0
- data/lib/resque_sqs/failure/redis_multi_queue.rb +89 -0
- data/lib/resque_sqs/failure.rb +113 -0
- data/lib/resque_sqs/helpers.rb +107 -0
- data/lib/resque_sqs/job.rb +346 -0
- data/lib/resque_sqs/log_formatters/quiet_formatter.rb +7 -0
- data/lib/resque_sqs/log_formatters/verbose_formatter.rb +7 -0
- data/lib/resque_sqs/log_formatters/very_verbose_formatter.rb +8 -0
- data/lib/resque_sqs/logging.rb +18 -0
- data/lib/resque_sqs/plugin.rb +66 -0
- data/lib/resque_sqs/server/helpers.rb +52 -0
- data/lib/resque_sqs/server/public/favicon.ico +0 -0
- data/lib/resque_sqs/server/public/idle.png +0 -0
- data/lib/resque_sqs/server/public/jquery-1.3.2.min.js +19 -0
- data/lib/resque_sqs/server/public/jquery.relatize_date.js +95 -0
- data/lib/resque_sqs/server/public/poll.png +0 -0
- data/lib/resque_sqs/server/public/ranger.js +78 -0
- data/lib/resque_sqs/server/public/reset.css +44 -0
- data/lib/resque_sqs/server/public/style.css +91 -0
- data/lib/resque_sqs/server/public/working.png +0 -0
- data/lib/resque_sqs/server/test_helper.rb +19 -0
- data/lib/resque_sqs/server/views/error.erb +1 -0
- data/lib/resque_sqs/server/views/failed.erb +29 -0
- data/lib/resque_sqs/server/views/failed_job.erb +50 -0
- data/lib/resque_sqs/server/views/failed_queues_overview.erb +24 -0
- data/lib/resque_sqs/server/views/key_sets.erb +19 -0
- data/lib/resque_sqs/server/views/key_string.erb +11 -0
- data/lib/resque_sqs/server/views/layout.erb +44 -0
- data/lib/resque_sqs/server/views/next_more.erb +22 -0
- data/lib/resque_sqs/server/views/overview.erb +4 -0
- data/lib/resque_sqs/server/views/queues.erb +58 -0
- data/lib/resque_sqs/server/views/stats.erb +62 -0
- data/lib/resque_sqs/server/views/workers.erb +109 -0
- data/lib/resque_sqs/server/views/working.erb +72 -0
- data/lib/resque_sqs/server.rb +271 -0
- data/lib/resque_sqs/stat.rb +57 -0
- data/lib/resque_sqs/tasks.rb +83 -0
- data/lib/resque_sqs/vendor/utf8_util/utf8_util_18.rb +91 -0
- data/lib/resque_sqs/vendor/utf8_util/utf8_util_19.rb +5 -0
- data/lib/resque_sqs/vendor/utf8_util.rb +20 -0
- data/lib/resque_sqs/version.rb +3 -0
- data/lib/resque_sqs/worker.rb +779 -0
- data/lib/resque_sqs.rb +479 -0
- data/lib/tasks/redis_sqs.rake +161 -0
- data/lib/tasks/resque_sqs.rake +2 -0
- data/test/airbrake_test.rb +27 -0
- data/test/failure_base_test.rb +15 -0
- data/test/job_hooks_test.rb +465 -0
- data/test/job_plugins_test.rb +230 -0
- data/test/logging_test.rb +24 -0
- data/test/plugin_test.rb +116 -0
- data/test/redis-test-cluster.conf +115 -0
- data/test/redis-test.conf +115 -0
- data/test/resque-web_test.rb +59 -0
- data/test/resque_failure_redis_test.rb +19 -0
- data/test/resque_hook_test.rb +165 -0
- data/test/resque_test.rb +278 -0
- data/test/stdout +42 -0
- data/test/test_helper.rb +228 -0
- data/test/worker_test.rb +1080 -0
- metadata +202 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 3fa0a1ab183ff3aa5e183da7c6fc59427c9e98a288e467a19b4d8fda9db334c2
|
4
|
+
data.tar.gz: 7bac90bf78c058fcc3b79332af3a004e50b10e2e48cd3366df8d9ebf45154b8d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: c2e06b2da93ba15dce4d68acab3cae5d81a13d58e62d9f6c0b3c008b669b7df0cad05419219e02f61803f3cc1323ea0cee999c99d2388d7edec210bf402f6650
|
7
|
+
data.tar.gz: 8dc0f21c281c8800674873e269eb7553fa4de9596cba168dde25fd5fd49bd0af6d0374576e7b99f7de4613702fa046d8bd793efe208b85f3985542002f3bded7
|
data/HISTORY.md
ADDED
@@ -0,0 +1,467 @@
|
|
1
|
+
## 1.25.2 (TBD)
|
2
|
+
|
3
|
+
* Respect TERM_CHILD setting when not forking (@ggilder)
|
4
|
+
* implementation of backend connection with a hash (Andrea Rossi)
|
5
|
+
* require yaml for show_args support (@yaauie)
|
6
|
+
* use redis-namespace 1.3 (Andrea Rossi)
|
7
|
+
* fix DOCS link in README (@cade)
|
8
|
+
* Fix worker prune test to actually run its assertion & cover reality. (@yaauie)
|
9
|
+
* Eliminate infinite recursion when ResqueSqs::Helpers mixed into Resque (@yaml)
|
10
|
+
* use ruby, avoid shelling out. google++ (@hone)
|
11
|
+
* Failed Assertions Don't Fail Tests :rage: (@yaauie)
|
12
|
+
|
13
|
+
## 1.25.1 (2013-9-26)
|
14
|
+
|
15
|
+
* Actually require Forwardable from the standard library.
|
16
|
+
|
17
|
+
## 1.25.0 (TBD)
|
18
|
+
* Updates fork method so [resque-multi-job-forks](https://github.com/stulentsev/resque-multi-job-forks)
|
19
|
+
monkey patching works again. See discussion at https://github.com/defunkt/resque/pull/895 for more
|
20
|
+
context (@jonhyman)
|
21
|
+
* Use Redis.pipelined to group batches of redis commands.
|
22
|
+
https://github.com/resque/resque/pull/902 (@jonhyman)
|
23
|
+
* Fixed uninitialize constant for the module/class that contains the perform
|
24
|
+
method causing job failures to no be reported, #792 (@sideshowcoder)
|
25
|
+
* Fix ResqueSqs::Failure::Base.all to have the correct signature.
|
26
|
+
(@rentalutions)
|
27
|
+
* Don't close stdio pipes when daemonizing so as to not hide errors. #967
|
28
|
+
(@sideshowcoder)
|
29
|
+
* Fix for worker_pids on Windows. #980 (@kzgs)
|
30
|
+
* Only prune workers for queues the current worker knows about. #1000
|
31
|
+
(!) (@dsabanin)
|
32
|
+
* Handle duplicate TERM signals. #988 (@softwaregravy)
|
33
|
+
* Fix issue with exiting workers and unintentionally deregistering the
|
34
|
+
parent when the forked child exits. #1017 (@magec)
|
35
|
+
* Fix encoding errors with local date formatting. #1065 (@katafrakt)
|
36
|
+
* Fix CI for 1.8.7 and 1.9.2 modes due to dependencies. #1090
|
37
|
+
(@adelcambre)
|
38
|
+
* Allow using globs for queue names to listen on, allowing things like
|
39
|
+
listening on `staging_*`. #1085 (@adelcambre)
|
40
|
+
|
41
|
+
|
42
|
+
## 1.24.1 (2013-3-23)
|
43
|
+
|
44
|
+
* Adds a default value for `per_page` on resque-server for plugins which add tabs (@jonhyman)
|
45
|
+
* Fix bad logic on the failed queue adapter
|
46
|
+
* Added missing `require 'time'` which was causing occasional errors which
|
47
|
+
would crash workers.
|
48
|
+
|
49
|
+
## 1.24.0 (2013-3-21)
|
50
|
+
|
51
|
+
* Web UI: Fix regression that caused the failure tab to break when using
|
52
|
+
certain failure backends (@kjg)
|
53
|
+
* Web UI: Add page list to queues (@ql)
|
54
|
+
* Web UI: Fix regression that caused the failure tab to break when clicking on
|
55
|
+
"clear all failures" under certain failure backends, #859 (@jonhyman)
|
56
|
+
* Fix regression for Resque hooks where Resque would error out if you assigned
|
57
|
+
multiple hooks using an array, #859 (@jonhyman)
|
58
|
+
* Adds ENV["RUN_AT_EXIT_HOOKS"] which when set to 1 causes any defined
|
59
|
+
`at_exit` hooks to be run on the child when the forked process exits, #862
|
60
|
+
(@jonhyman)
|
61
|
+
* Bump up redis-namespace to 1.2.
|
62
|
+
* Remove multi_json, the JSON gem does the right thing everywhere now.
|
63
|
+
* Documentation fixes with demo instructions.
|
64
|
+
* Fixed encoding for worker PIDs on Windows (@kzgs)
|
65
|
+
* Cache value of PID in an ivar. This way, if you try to look up worker PIDs
|
66
|
+
from some other process (such as the console), they will be correct.
|
67
|
+
* Add a mutex-free logger. Ruby 2.0 does not allow you to use a mutex from
|
68
|
+
a signal handler, which can potentially cause deadlock. Now we're using
|
69
|
+
`mono_logger`, which has no locks.
|
70
|
+
|
71
|
+
## 1.23.1 (2013-3-7)
|
72
|
+
|
73
|
+
* JRuby and Rubinius are 'allow failure' on CI. This is largely due to Travis
|
74
|
+
weridness and flaky tests.
|
75
|
+
* Fix link from "queues" view to "failed" view when there's only one failed
|
76
|
+
queue (trliner)
|
77
|
+
* Making all the failure backends have the same method signature for duck
|
78
|
+
typing purposes (jonhyman)
|
79
|
+
* Fix log formatters not appending a new line (flavorpill)
|
80
|
+
* redirect unauthorized resque-web polling requests to root url (trliner)
|
81
|
+
* Various resque-web fixes (@tarcieri)
|
82
|
+
* Optional RedisMultiQueue failure backend, can be enabled with
|
83
|
+
FAILURE_BACKEND=redis_multi_queue env var (@tarcieri)
|
84
|
+
* resque_sqs:failures:sort rake task will migrate an existing "failed" queue into
|
85
|
+
separate failure queues per job queue, allowing an easy migration to
|
86
|
+
the RedisMultiQueue failure backend (@tarcieri)
|
87
|
+
* Disable forking completely with FORK_PER_JOB=false env var (@tarcieri)
|
88
|
+
* Report a failure when processes are killed with signals (@dylanahsmith)
|
89
|
+
* Enable registering of multiple Resque hooks (@panthomakos, @jonhyman)
|
90
|
+
|
91
|
+
## 1.23.0 (2012-10-01)
|
92
|
+
|
93
|
+
* don't run `before_fork` hook if Resque can't fork (@kjwierenga, @tarcieri, #672, #697)
|
94
|
+
* don't run `after_fork` hook if Resque can't fork (@kjwierenga, @tarcieri, #672, #697)
|
95
|
+
* retry connecting to redis up to 3 times (@trevorturk, #693)
|
96
|
+
* pass exceptions raised by the worker into the Failure backend (@trevorturk, #693)
|
97
|
+
|
98
|
+
## 1.22.0 (2012-08-21)
|
99
|
+
|
100
|
+
* unregister signal handlers in child process when ENV["TERM_CHILD"] is set (@dylanasmith, #621)
|
101
|
+
* new signal handling for TERM. See http://hone.heroku.com/resque/2012/08/21/resque-signals.html. (@wuputah, @yaaule, #638)
|
102
|
+
* supports calling perform hooks when using ResqueSqs.inline (@jonhyman, #506)
|
103
|
+
|
104
|
+
## 1.21.0 (2012-07-02)
|
105
|
+
|
106
|
+
* Add a flag to make sure failure hooks are only ran once (jakemack, #546)
|
107
|
+
* Support updated MultiJSON API (@twinturbo)
|
108
|
+
* Fix worker logging in monit example config (@twinturbo)
|
109
|
+
* loosen dependency of redis-namespace to 1.x, support for redis-rb 3.0.x
|
110
|
+
* change '%' to '$' in the 'stop program' command for monit
|
111
|
+
* UTF8 sanitize exception messages when there's a failure (@brianmario, #507)
|
112
|
+
* don't share a redis connection between parent and child (@jsanders, #588)
|
113
|
+
|
114
|
+
## 1.20.0 (2012-02-17)
|
115
|
+
|
116
|
+
* Fixed demos for ruby 1.9 (@BMorearty, #445)
|
117
|
+
* Fixed `#requeue` tests (@hone, #500)
|
118
|
+
* Web UI: optional trailing slashes of URLs (@elisehuard, #449)
|
119
|
+
* Allow * to appear anywhere in queue list (@tapajos, #405, #407)
|
120
|
+
* Wait for child with specific PID (@jacobkg)
|
121
|
+
* #decode raise takes a string when re-raising as a different exception class (Trevor Hart)
|
122
|
+
* Use Sinatra's `pubilc_folder` if it exists (@defunkt, #420, #421)
|
123
|
+
* Assign the job's worker before calling `before_fork` (@quirkey)
|
124
|
+
* Fix ResqueSqs::Helpers#constantize to work correctly on 1.9.2 (@rtlong)
|
125
|
+
* Added before & after hooks for dequeue (@humancopy, #398)
|
126
|
+
* daemonize support using `ENV["BACKGROUND"]` (@chrisleishman)
|
127
|
+
* requeue and remove failed jobs by queue name (@evanwhalen)
|
128
|
+
* `-r` flag for resque-web for redis connection (@gjastrab)
|
129
|
+
* Added `ResqueSqs.enqueue_to`: allows you to specif the queue and still run hooks (@dan-g)
|
130
|
+
* Web UI: Set the default encoding to UTF-8 (@elubow)
|
131
|
+
* fix finding worker pids on JRuby (John Andrews + Andrew Grieser)
|
132
|
+
* Added distributed redis support (@stipple)
|
133
|
+
* Added better failure hooks (@raykrueger)
|
134
|
+
* Added before & after dequeue hooks (@humancopy)
|
135
|
+
|
136
|
+
## 1.19.0 (2011-09-01)
|
137
|
+
|
138
|
+
* Added Airbrake (formerly Hoptoad) support.
|
139
|
+
* Web UI: Added retry all button to failed jobs page
|
140
|
+
* Web UI: Show focus outline
|
141
|
+
|
142
|
+
## 1.18.6 (2011-08-30)
|
143
|
+
|
144
|
+
* Bugfix: Use Rails 3 eager loading for resque_sqs:preload
|
145
|
+
|
146
|
+
## 1.18.5 (2011-08-24)
|
147
|
+
|
148
|
+
* Added support for Travis CI
|
149
|
+
* Bugfix: preload only happens in production Rails environment
|
150
|
+
|
151
|
+
## 1.18.4 (2011-08-23)
|
152
|
+
|
153
|
+
* Bugfix: preload task depends on setup
|
154
|
+
|
155
|
+
## 1.18.3 (2011-08-23)
|
156
|
+
|
157
|
+
* Bugfix: Fix preloading on Rails 3.x.
|
158
|
+
|
159
|
+
## 1.18.2 (2011-08-19)
|
160
|
+
|
161
|
+
* Fix RAILS_ROOT deprecation warning
|
162
|
+
|
163
|
+
## 1.18.1 (2011-08-19)
|
164
|
+
|
165
|
+
* Bugfix: Use RAILS_ROOT in preload task
|
166
|
+
|
167
|
+
## 1.18.0 (2011-08-18)
|
168
|
+
|
169
|
+
* Added before_enqueue hook.
|
170
|
+
* Resque workers now preload files under app/ in Rails
|
171
|
+
* Switch to MultiJSON
|
172
|
+
* Bugfix: Finding worker pids on Solaris
|
173
|
+
* Web UI: Fix NaN days ago for worker screens
|
174
|
+
* Web UI: Add Cache-Control header to prevent proxy caching
|
175
|
+
* Web UI: Update ResqueSqs.redis_id so it can be used in a distributed ring.
|
176
|
+
|
177
|
+
## 1.17.1 (2011-05-27)
|
178
|
+
|
179
|
+
* Reverted `exit` change. Back to `exit!`.
|
180
|
+
|
181
|
+
## 1.17.0 (2011-05-26)
|
182
|
+
|
183
|
+
* Workers exit with `exit` instead of `exit!`. This means you
|
184
|
+
can now use `at_exit` hooks inside workers.
|
185
|
+
* More monit typo fixes.
|
186
|
+
* Fixed bug in Hoptoad backend.
|
187
|
+
* Web UI: Wrap preformatted arguments.
|
188
|
+
|
189
|
+
## 1.16.1 (2011-05-17)
|
190
|
+
|
191
|
+
* Bugfix: ResqueSqs::Failure::Hoptoad.configure works again
|
192
|
+
* Bugfix: Loading rake tasks
|
193
|
+
|
194
|
+
## 1.16.0 (2011-05-16)
|
195
|
+
|
196
|
+
* Optional Hoptoad backend extracted into hoptoad_notifier. Install the gem to use it.
|
197
|
+
* Added `Worker#paused?` method
|
198
|
+
* Bugfix: Properly reseed random number generator after forking.
|
199
|
+
* Bugfix: ResqueSqs.redis=(<a Redis::Namespace>)
|
200
|
+
* Bugfix: Monit example stdout/stderr redirection
|
201
|
+
* Bugfix: Removing single failure now works with multiple failure backends
|
202
|
+
* Web: 'Remove Queue' now requires confirmation
|
203
|
+
* Web: Favicon!
|
204
|
+
* Web Bugfix: Dates display in Safari
|
205
|
+
* Web Bugfix: Dates display timezone
|
206
|
+
* Web Bugfix: Race condition querying working workers
|
207
|
+
* Web Bugfix: Fix polling /workers/all in resque-web
|
208
|
+
|
209
|
+
## 1.15.0 (2011-03-18)
|
210
|
+
|
211
|
+
* Fallback to Redis.connect. Makes ENV variables and whatnot work.
|
212
|
+
* Fixed Sinatra 1.2 compatibility
|
213
|
+
|
214
|
+
## 1.14.0 (2011-03-17)
|
215
|
+
|
216
|
+
* Sleep interval can now be a float
|
217
|
+
* Added ResqueSqs.inline to allow in-process performing of jobs (for testing)
|
218
|
+
* Fixed tests for Ruby 1.9.2
|
219
|
+
* Added ResqueSqs.validate(klass) to validate a Job
|
220
|
+
* Decode errors are no longer ignored to help debugging
|
221
|
+
* Web: Sinatra 1.2 compatibility
|
222
|
+
* Fixed after_enqueue hook to actually run in `ResqueSqs.enqueue`
|
223
|
+
* Fixed very_verbose timestamps to use 24 hour time (AM/PM wasn't included)
|
224
|
+
* Fixed monit example
|
225
|
+
* Fixed Worker#pid
|
226
|
+
|
227
|
+
## 1.13.0 (2011-02-07)
|
228
|
+
|
229
|
+
* Depend on redis-namespace >= 0.10
|
230
|
+
* README tweaks
|
231
|
+
* Use thread_safe option when setting redis url
|
232
|
+
* Bugfix: worker pruning
|
233
|
+
|
234
|
+
## 1.12.0 (2011-02-03)
|
235
|
+
|
236
|
+
* Added pidfile writing from `rake resque_sqs:work`
|
237
|
+
* Added Worker#pid method
|
238
|
+
* Added configurable location for `rake install`
|
239
|
+
* Bugfix: Errors in failure backend are rescue'd
|
240
|
+
* Bugfix: Non-working workers no longer counted in "working" count
|
241
|
+
* Bugfix: Don't think resque-web is a worker
|
242
|
+
|
243
|
+
## 1.11.0 (2010-08-23)
|
244
|
+
|
245
|
+
* Web UI: Group /workers page by hostnames
|
246
|
+
|
247
|
+
## 1.10.0 (2010-08-23)
|
248
|
+
|
249
|
+
* Support redis:// string format in `ResqueSqs.redis=`
|
250
|
+
* Using new cross-platform JSON gem.
|
251
|
+
* Added `after_enqueue` plugin hook.
|
252
|
+
* Added `shutdown?` method which can be overridden.
|
253
|
+
* Added support for the "leftright" gem when running tests.
|
254
|
+
* Grammarfix: In the README
|
255
|
+
|
256
|
+
## 1.9.10 (2010-08-06)
|
257
|
+
|
258
|
+
* Bugfix: before_fork should get passed the job
|
259
|
+
|
260
|
+
## 1.9.9 (2010-07-26)
|
261
|
+
|
262
|
+
* Depend on redis-namespace 0.8.0
|
263
|
+
* Depend on json_pure instead of json (for JRuby compat)
|
264
|
+
* Bugfix: rails_env display in stats view
|
265
|
+
|
266
|
+
## 1.9.8 (2010-07-20)
|
267
|
+
|
268
|
+
* Bugfix: Worker.all should never return nil
|
269
|
+
* monit example: Fixed Syntax Error and adding environment to the rake task
|
270
|
+
* redis rake task: Fixed typo in copy command
|
271
|
+
|
272
|
+
## 1.9.7 (2010-07-09)
|
273
|
+
|
274
|
+
* Improved memory usage in Job.destroy
|
275
|
+
* redis-namespace 0.7.0 now required
|
276
|
+
* Bugfix: Reverted $0 changes
|
277
|
+
* Web Bugfix: Payload-less failures in the web ui work
|
278
|
+
|
279
|
+
## 1.9.6 (2010-06-22)
|
280
|
+
|
281
|
+
* Bugfix: Rakefile logging works the same as all the other logging
|
282
|
+
|
283
|
+
## 1.9.5 (2010-06-16)
|
284
|
+
|
285
|
+
* Web Bugfix: Display the configured namespace on the stats page
|
286
|
+
* Revert Bugfix: Make ps -o more cross platform friendly
|
287
|
+
|
288
|
+
## 1.9.4 (2010-06-14)
|
289
|
+
|
290
|
+
* Bugfix: Multiple failure backend gets exception information when created
|
291
|
+
|
292
|
+
## 1.9.3 (2010-06-14)
|
293
|
+
|
294
|
+
* Bugfix: Resque#queues always returns an array
|
295
|
+
|
296
|
+
## 1.9.2 (2010-06-13)
|
297
|
+
|
298
|
+
* Bugfix: Worker.all returning nil fix
|
299
|
+
* Bugfix: Make ps -o more cross platform friendly
|
300
|
+
|
301
|
+
## 1.9.1 (2010-06-04)
|
302
|
+
|
303
|
+
* Less strict JSON dependency
|
304
|
+
* Included HISTORY.md in gem
|
305
|
+
|
306
|
+
## 1.9.0 (2010-06-04)
|
307
|
+
|
308
|
+
* Redis 2 support
|
309
|
+
* Depend on redis-namespace 0.5.0
|
310
|
+
* Added ResqueSqs::VERSION constant (alias of ResqueSqs::Version)
|
311
|
+
* Bugfix: Specify JSON dependency
|
312
|
+
* Bugfix: Hoptoad plugin now works on 1.9
|
313
|
+
|
314
|
+
## 1.8.5 (2010-05-18)
|
315
|
+
|
316
|
+
* Bugfix: Be more liberal in which Redis clients we accept.
|
317
|
+
|
318
|
+
## 1.8.4 (2010-05-18)
|
319
|
+
|
320
|
+
* Try to resolve redis-namespace dependency issue
|
321
|
+
|
322
|
+
## 1.8.3 (2010-05-17)
|
323
|
+
|
324
|
+
* Depend on redis-rb ~> 1.0.7
|
325
|
+
|
326
|
+
## 1.8.2 (2010-05-03)
|
327
|
+
|
328
|
+
* Bugfix: Include "tasks/" dir in RubyGem
|
329
|
+
|
330
|
+
## 1.8.1 (2010-04-29)
|
331
|
+
|
332
|
+
* Bugfix: Multiple failure backend did not support requeue-ing failed jobs
|
333
|
+
* Bugfix: Fix /failed when error has no backtrace
|
334
|
+
* Bugfix: Add `Redis::DistRedis` as a valid client
|
335
|
+
|
336
|
+
## 1.8.0 (2010-04-07)
|
337
|
+
|
338
|
+
* Jobs that never complete due to killed worker are now failed.
|
339
|
+
* Worker "working" state is now maintained by the parent, not the child.
|
340
|
+
* Stopped using deprecated redis.rb methods
|
341
|
+
* `Worker.working` race condition fixed
|
342
|
+
* `Worker#process` has been deprecated.
|
343
|
+
* Monit example fixed
|
344
|
+
* Redis::Client and Redis::Namespace can be passed to `ResqueSqs.redis=`
|
345
|
+
|
346
|
+
## 1.7.1 (2010-04-02)
|
347
|
+
|
348
|
+
* Bugfix: Make job hook execution order consistent
|
349
|
+
* Bugfix: stdout buffering in child process
|
350
|
+
|
351
|
+
## 1.7.0 (2010-03-31)
|
352
|
+
|
353
|
+
* Job hooks API. See docs/HOOKS.md.
|
354
|
+
* web: Hovering over dates shows a timestamp
|
355
|
+
* web: AJAXify retry action for failed jobs
|
356
|
+
* web bugfix: Fix pagination bug
|
357
|
+
|
358
|
+
## 1.6.1 (2010-03-25)
|
359
|
+
|
360
|
+
* Bugfix: Workers may not be clearing their state correctly on
|
361
|
+
shutdown
|
362
|
+
* Added example monit config.
|
363
|
+
* Exception class is now recorded when an error is raised in a
|
364
|
+
worker.
|
365
|
+
* web: Unit tests
|
366
|
+
* web: Show namespace in header and footer
|
367
|
+
* web: Remove a queue
|
368
|
+
* web: Retry failed jobs
|
369
|
+
|
370
|
+
## 1.6.0 (2010-03-09)
|
371
|
+
|
372
|
+
* Added `before_first_fork`, `before_fork`, and `after_fork` hooks.
|
373
|
+
* Hoptoad: Added server_environment config setting
|
374
|
+
* Hoptoad bugfix: Don't depend on RAILS_ROOT
|
375
|
+
* 1.8.6 compat fixes
|
376
|
+
|
377
|
+
## 1.5.2 (2010-03-03)
|
378
|
+
|
379
|
+
* Bugfix: JSON check was crazy.
|
380
|
+
|
381
|
+
## 1.5.1 (2010-03-03)
|
382
|
+
|
383
|
+
* `Job.destroy` and `ResqueSqs.dequeue` return the # of destroyed jobs.
|
384
|
+
* Hoptoad notifier improvements
|
385
|
+
* Specify the namespace with `resque-web` by passing `-N namespace`
|
386
|
+
* Bugfix: Don't crash when trying to parse invalid JSON.
|
387
|
+
* Bugfix: Non-standard namespace support
|
388
|
+
* Web: Red backgound for queue "failed" only shown if there are failed jobs.
|
389
|
+
* Web bugfix: Tabs highlight properly now
|
390
|
+
* Web bugfix: ZSET partial support in stats
|
391
|
+
* Web bugfix: Deleting failed jobs works again
|
392
|
+
* Web bugfix: Sets (or zsets, lists, etc) now paginate.
|
393
|
+
|
394
|
+
## 1.5.0 (2010-02-17)
|
395
|
+
|
396
|
+
* Version now included in procline, e.g. `resque-1.5.0: Message`
|
397
|
+
* Web bugfix: Ignore idle works in the "working" page
|
398
|
+
* Added `ResqueSqs::Job.destroy(queue, klass, *args)`
|
399
|
+
* Added `ResqueSqs.dequeue(klass, *args)`
|
400
|
+
|
401
|
+
## 1.4.0 (2010-02-11)
|
402
|
+
|
403
|
+
* Fallback when unable to bind QUIT and USR1 for Windows and JRuby.
|
404
|
+
* Fallback when no `Kernel.fork` is provided (for IronRuby).
|
405
|
+
* Web: Rounded corners in Firefox
|
406
|
+
* Cut down system calls in `Worker#prune_dead_workers`
|
407
|
+
* Enable switching DB in a Redis server from config
|
408
|
+
* Support USR2 and CONT to stop and start job processing.
|
409
|
+
* Web: Add example failing job
|
410
|
+
* Bugfix: `Worker#unregister_worker` shouldn't call `done_working`
|
411
|
+
* Bugfix: Example god config now restarts Resque properly.
|
412
|
+
* Multiple failure backends now permitted.
|
413
|
+
* Hoptoad failure backend updated to new API
|
414
|
+
|
415
|
+
## 1.3.1 (2010-01-11)
|
416
|
+
|
417
|
+
* Vegas bugfix: Don't error without a config
|
418
|
+
|
419
|
+
## 1.3.0 (2010-01-11)
|
420
|
+
|
421
|
+
* Use Vegas for resque-web
|
422
|
+
* Web Bugfix: Show proper date/time value for failed_at on Failures
|
423
|
+
* Web Bugfix: Make the / route more flexible
|
424
|
+
* Add ResqueSqs::Server.tabs array (so plugins can add their own tabs)
|
425
|
+
* Start using [Semantic Versioning](http://semver.org/)
|
426
|
+
|
427
|
+
## 1.2.4 (2009-12-15)
|
428
|
+
|
429
|
+
* Web Bugfix: fix key links on stat page
|
430
|
+
|
431
|
+
## 1.2.3 (2009-12-15)
|
432
|
+
|
433
|
+
* Bugfix: Fixed `rand` seeding in child processes.
|
434
|
+
* Bugfix: Better JSON encoding/decoding without Yajl.
|
435
|
+
* Bugfix: Avoid `ps` flag error on Linux
|
436
|
+
* Add `PREFIX` observance to `rake` install tasks.
|
437
|
+
|
438
|
+
## 1.2.2 (2009-12-08)
|
439
|
+
|
440
|
+
* Bugfix: Job equality was not properly implemented.
|
441
|
+
|
442
|
+
## 1.2.1 (2009-12-07)
|
443
|
+
|
444
|
+
* Added `rake resque_sqs:workers` task for starting multiple workers.
|
445
|
+
* 1.9.x compatibility
|
446
|
+
* Bugfix: Yajl decoder doesn't care about valid UTF-8
|
447
|
+
* config.ru loads RESQUECONFIG if the ENV variable is set.
|
448
|
+
* `resque-web` now sets RESQUECONFIG
|
449
|
+
* Job objects know if they are equal.
|
450
|
+
* Jobs can be re-queued using `Job#recreate`
|
451
|
+
|
452
|
+
## 1.2.0 (2009-11-25)
|
453
|
+
|
454
|
+
* If USR1 is sent and no child is found, shutdown.
|
455
|
+
* Raise when a job class does not respond to `perform`.
|
456
|
+
* Added `ResqueSqs.remove_queue` for deleting a queue
|
457
|
+
|
458
|
+
## 1.1.0 (2009-11-04)
|
459
|
+
|
460
|
+
* Bugfix: Broken ERB tag in failure UI
|
461
|
+
* Bugfix: Save the worker's ID, not the worker itself, in the failure module
|
462
|
+
* Redesigned the sinatra web interface
|
463
|
+
* Added option to clear failed jobs
|
464
|
+
|
465
|
+
## 1.0.0 (2009-11-03)
|
466
|
+
|
467
|
+
* First release.
|
data/LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) Chris Wanstrath
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|