resque_manager 3.3.0 → 3.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,8 @@
1
+ class SingleRecordLoader
2
+ include Resque::Plugins::ChainedStatus
3
+ @queue = :single_record_loader
4
+
5
+ def self.perform(*args)
6
+ #stub
7
+ end
8
+ end
@@ -0,0 +1,7 @@
1
+ ResqueManager.configure do |config|
2
+ config.redis_config = YAML.load(IO.read(Rails.root.join('config', 'redis.yml')))["#{Rails.env}_resque"]
3
+ resque_manager_config = YAML.load(IO.read(Rails.root.join('config', 'resque_manager.yml')))[Rails.env]
4
+ config.key_expiration = resque_manager_config['key_expiration']
5
+ config.inline = resque_manager_config['inline']
6
+ config.applications = resque_manager_config['applications']
7
+ end
@@ -0,0 +1,16 @@
1
+ development: &default_development
2
+ :host: 127.0.0.1
3
+ :thread_safe: true
4
+
5
+ development_resque:
6
+ <<: *default_development
7
+ :db: 1
8
+
9
+ test: &default_test
10
+ :host: 127.0.0.1
11
+ :db: <%= 10 + ENV['TEST_ENV_NUMBER'].to_i %>
12
+ :thread_safe: true
13
+
14
+ test_resque:
15
+ <<: *default_test
16
+ :db: <%= 40 + ENV['TEST_ENV_NUMBER'].to_i %>
@@ -0,0 +1,23 @@
1
+ development: &default
2
+ key_expiration: 604800 #<%= 1.week %>
3
+ inline: true
4
+ applications:
5
+ application1: /Users/ktyll/rails_sites/git/application1
6
+ application2: /Users/ktyll/rails_sites/git/application2
7
+
8
+ test:
9
+ <<: *default
10
+
11
+ release:
12
+ <<: *default
13
+ inline: false
14
+ applications:
15
+ application1: /var/www/rails/application1/current
16
+ application2: /var/www/rails/application2/current
17
+
18
+ production:
19
+ <<: *default
20
+ inline: false
21
+ applications:
22
+ application1: /var/www/rails/application1/current
23
+ application2: /var/www/rails/application2/current
@@ -1,4 +1,3 @@
1
1
  Rails.application.routes.draw do
2
-
3
- mount ResqueManager::Engine => "resque"
2
+ mount ResqueManager::Engine => 'resque'
4
3
  end
@@ -0,0 +1 @@
1
+ task 'resque:setup' => :environment
@@ -0,0 +1,642 @@
1
+ Processing by ResqueManager::ResqueController#add_scheduled_job as HTML
2
+ Parameters: {"name"=>"TestName", "class"=>"SingleRecordLoader", "ip"=>"0.0.0.0", "args"=>nil, "description"=>"Test job", "cron"=>"TestCron"}
3
+ Redirected to http://test.host/resque/schedule
4
+ Completed 302 Found in 2ms
5
+ Processing by ResqueManager::ResqueController#add_scheduled_job as HTML
6
+ Parameters: {"name"=>"key", "resque client connected to redis://127.0.0.1:6379/0"=>{"name"=>"key", "controller"=>"resque_manager/resque", "action"=>"add_scheduled_job"}}
7
+ Redirected to http://test.host/resque/schedule
8
+ Completed 302 Found in 1ms
9
+ Processing by ResqueManager::ResqueController#cleaner_stale as HTML
10
+ Redirected to http://test.host/resque/cleaner
11
+ Completed 302 Found in 1ms
12
+ Processing by ResqueManager::ResqueController#clear_statuses as HTML
13
+ Redirected to http://test.host/resque/statuses
14
+ Completed 302 Found in 1ms
15
+ Processing by ResqueManager::ResqueController#continue_worker as HTML
16
+ Redirected to http://test.host/resque/workers
17
+ Completed 302 Found in 1ms
18
+ Processing by ResqueManager::ResqueController#continue_worker as HTML
19
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):19980:70168630134480::"}
20
+ Redirected to http://test.host/resque/workers
21
+ Completed 302 Found in 2ms
22
+ Processing by ResqueManager::ResqueController#kill as HTML
23
+ Parameters: {"id"=>"UUID"}
24
+ Redirected to http://test.host/resque/statuses
25
+ Completed 302 Found in 3ms
26
+ Processing by ResqueManager::ResqueController#pause_worker as HTML
27
+ Redirected to http://test.host/resque/workers
28
+ Completed 302 Found in 1ms
29
+ Processing by ResqueManager::ResqueController#pause_worker as HTML
30
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):19980:70168630134480::"}
31
+ Redirected to http://test.host/resque/workers
32
+ Completed 302 Found in 2ms
33
+ Processing by ResqueManager::ResqueController#poll as HTML
34
+ Parameters: {"page"=>"overview"}
35
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_queues.html.erb (3.0ms)
36
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_working.html.erb (2.4ms)
37
+ Completed 200 OK in 46ms (Views: 3.5ms)
38
+ Processing by ResqueManager::ResqueController#queues as HTML
39
+ Completed 200 OK in 10ms (Views: 8.9ms)
40
+ Processing by ResqueManager::ResqueController#remove_from_schedule as HTML
41
+ Redirected to http://test.host/resque/schedule
42
+ Completed 302 Found in 2ms
43
+ Processing by ResqueManager::ResqueController#remove_from_schedule as HTML
44
+ Parameters: {"ip"=>"0.0.0.0", "job_name"=>"SingleRecordLoader"}
45
+ Redirected to http://test.host/resque/schedule
46
+ Completed 302 Found in 1ms
47
+ Processing by ResqueManager::ResqueController#remove_job as HTML
48
+ Parameters: {"class"=>"SingleRecordLoader"}
49
+ Redirected to http://test.host/resque/queues/single_record_loader
50
+ Completed 302 Found in 1ms
51
+ Processing by ResqueManager::ResqueController#remove_job as HTML
52
+ Parameters: {"class"=>"SingleRecordLoader"}
53
+ Redirected to http://test.host/resque/queues/single_record_loader
54
+ Completed 302 Found in 1ms
55
+ Processing by ResqueManager::ResqueController#restart_worker as HTML
56
+ Redirected to http://test.host/resque/workers
57
+ Completed 302 Found in 2ms
58
+ Processing by ResqueManager::ResqueController#restart_worker as HTML
59
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):19980:70168630134480::"}
60
+ Redirected to http://test.host/resque/workers
61
+ Completed 302 Found in 1ms
62
+ Processing by ResqueManager::ResqueController#schedule as HTML
63
+ Completed 500 Internal Server Error in 1ms
64
+ Processing by ResqueManager::ResqueController#schedule_requeue as HTML
65
+ Redirected to http://test.host/resque/overview
66
+ Completed 302 Found in 1ms
67
+ Processing by ResqueManager::ResqueController#start_scheduler as HTML
68
+ Parameters: {"ip"=>"0.0.0.0"}
69
+ Redirected to http://test.host/resque/schedule
70
+ Completed 302 Found in 2ms
71
+ Processing by ResqueManager::ResqueController#start_worker as HTML
72
+ Redirected to http://test.host/resque/workers
73
+ Completed 302 Found in 2ms
74
+ Processing by ResqueManager::ResqueController#start_worker as HTML
75
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):19980:70168630134480::"}
76
+ Redirected to http://test.host/resque/workers
77
+ Completed 302 Found in 2ms
78
+ Processing by ResqueManager::ResqueController#stats as HTML
79
+ Redirected to http://test.host/resque/stats?id=resque
80
+ Completed 302 Found in 2ms
81
+ Processing by ResqueManager::ResqueController#stats as HTML
82
+ Parameters: {"id"=>"txt"}
83
+ Completed 200 OK in 3ms (Views: 0.6ms)
84
+ Processing by ResqueManager::ResqueController#status as JS
85
+ Parameters: {"id"=>"UUID"}
86
+ Completed 200 OK in 2ms (Views: 0.3ms)
87
+ Processing by ResqueManager::ResqueController#status_poll as HTML
88
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_status_styles.erb (0.6ms)
89
+ Completed 200 OK in 8ms (Views: 0.3ms)
90
+ Processing by ResqueManager::ResqueController#statuses as JS
91
+ Completed 200 OK in 1ms (Views: 0.3ms)
92
+ Processing by ResqueManager::ResqueController#stop_scheduler as HTML
93
+ Parameters: {"ip"=>"0.0.0.0"}
94
+ Redirected to http://test.host/resque/schedule
95
+ Completed 302 Found in 1ms
96
+ Processing by ResqueManager::ResqueController#stop_worker as HTML
97
+ Redirected to http://test.host/resque/workers
98
+ Completed 302 Found in 1ms
99
+ Processing by ResqueManager::ResqueController#stop_worker as HTML
100
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):19980:70168630134480::"}
101
+ Redirected to http://test.host/resque/workers
102
+ Completed 302 Found in 2ms
103
+ Processing by ResqueManager::ResqueController#working as HTML
104
+ Completed 200 OK in 9ms (Views: 7.8ms)
105
+ Processing by ResqueManager::ResqueController#working as HTML
106
+ Filter chain halted as :check_connection rendered or redirected
107
+ Completed 200 OK in 5ms (Views: 5.1ms)
108
+ Processing by ResqueManager::ResqueController#add_scheduled_job as HTML
109
+ Parameters: {"name"=>"TestName", "class"=>"SingleRecordLoader", "ip"=>"0.0.0.0", "args"=>nil, "description"=>"Test job", "cron"=>"TestCron"}
110
+ Redirected to http://test.host/resque/schedule
111
+ Completed 302 Found in 2ms
112
+ Processing by ResqueManager::ResqueController#add_scheduled_job as HTML
113
+ Parameters: {"name"=>"key", "resque client connected to redis://127.0.0.1:6379/0"=>{"name"=>"key", "controller"=>"resque_manager/resque", "action"=>"add_scheduled_job"}}
114
+ Redirected to http://test.host/resque/schedule
115
+ Completed 302 Found in 1ms
116
+ Processing by ResqueManager::ResqueController#cleaner_stale as HTML
117
+ Redirected to http://test.host/resque/cleaner
118
+ Completed 302 Found in 2ms
119
+ Processing by ResqueManager::ResqueController#clear_statuses as HTML
120
+ Redirected to http://test.host/resque/statuses
121
+ Completed 302 Found in 1ms
122
+ Processing by ResqueManager::ResqueController#continue_worker as HTML
123
+ Redirected to http://test.host/resque/workers
124
+ Completed 302 Found in 1ms
125
+ Processing by ResqueManager::ResqueController#continue_worker as HTML
126
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):20052:70157221627600::"}
127
+ Redirected to http://test.host/resque/workers
128
+ Completed 302 Found in 2ms
129
+ Processing by ResqueManager::ResqueController#kill as HTML
130
+ Parameters: {"id"=>"UUID"}
131
+ Redirected to http://test.host/resque/statuses
132
+ Completed 302 Found in 3ms
133
+ Processing by ResqueManager::ResqueController#pause_worker as HTML
134
+ Redirected to http://test.host/resque/workers
135
+ Completed 302 Found in 1ms
136
+ Processing by ResqueManager::ResqueController#pause_worker as HTML
137
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):20052:70157221627600::"}
138
+ Redirected to http://test.host/resque/workers
139
+ Completed 302 Found in 1ms
140
+ Processing by ResqueManager::ResqueController#poll as HTML
141
+ Parameters: {"page"=>"overview"}
142
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_queues.html.erb (2.6ms)
143
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_working.html.erb (2.2ms)
144
+ Completed 200 OK in 22ms (Views: 1.3ms)
145
+ Processing by ResqueManager::ResqueController#queues as HTML
146
+ Completed 200 OK in 9ms (Views: 8.0ms)
147
+ Processing by ResqueManager::ResqueController#remove_from_schedule as HTML
148
+ Redirected to http://test.host/resque/schedule
149
+ Completed 302 Found in 1ms
150
+ Processing by ResqueManager::ResqueController#remove_from_schedule as HTML
151
+ Parameters: {"ip"=>"0.0.0.0", "job_name"=>"SingleRecordLoader"}
152
+ Redirected to http://test.host/resque/schedule
153
+ Completed 302 Found in 1ms
154
+ Processing by ResqueManager::ResqueController#remove_job as HTML
155
+ Parameters: {"class"=>"SingleRecordLoader"}
156
+ Redirected to http://test.host/resque/queues/single_record_loader
157
+ Completed 302 Found in 1ms
158
+ Processing by ResqueManager::ResqueController#remove_job as HTML
159
+ Parameters: {"class"=>"SingleRecordLoader"}
160
+ Redirected to http://test.host/resque/queues/single_record_loader
161
+ Completed 302 Found in 1ms
162
+ Processing by ResqueManager::ResqueController#restart_worker as HTML
163
+ Redirected to http://test.host/resque/workers
164
+ Completed 302 Found in 1ms
165
+ Processing by ResqueManager::ResqueController#restart_worker as HTML
166
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):20052:70157221627600::"}
167
+ Redirected to http://test.host/resque/workers
168
+ Completed 302 Found in 1ms
169
+ Processing by ResqueManager::ResqueController#schedule as HTML
170
+ Completed 500 Internal Server Error in 1ms
171
+ Processing by ResqueManager::ResqueController#schedule_requeue as HTML
172
+ Redirected to http://test.host/resque/overview
173
+ Completed 302 Found in 1ms
174
+ Processing by ResqueManager::ResqueController#start_scheduler as HTML
175
+ Parameters: {"ip"=>"0.0.0.0"}
176
+ Redirected to http://test.host/resque/schedule
177
+ Completed 302 Found in 1ms
178
+ Processing by ResqueManager::ResqueController#start_worker as HTML
179
+ Redirected to http://test.host/resque/workers
180
+ Completed 302 Found in 1ms
181
+ Processing by ResqueManager::ResqueController#start_worker as HTML
182
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):20052:70157221627600::"}
183
+ Redirected to http://test.host/resque/workers
184
+ Completed 302 Found in 1ms
185
+ Processing by ResqueManager::ResqueController#stats as HTML
186
+ Redirected to http://test.host/resque/stats?id=resque
187
+ Completed 302 Found in 2ms
188
+ Processing by ResqueManager::ResqueController#stats as HTML
189
+ Parameters: {"id"=>"txt"}
190
+ Completed 200 OK in 3ms (Views: 1.0ms)
191
+ Processing by ResqueManager::ResqueController#status as JS
192
+ Parameters: {"id"=>"UUID"}
193
+ Completed 200 OK in 2ms (Views: 0.2ms)
194
+ Processing by ResqueManager::ResqueController#status_poll as HTML
195
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_status_styles.erb (0.6ms)
196
+ Completed 200 OK in 6ms (Views: 0.3ms)
197
+ Processing by ResqueManager::ResqueController#statuses as JS
198
+ Completed 200 OK in 2ms (Views: 0.4ms)
199
+ Processing by ResqueManager::ResqueController#stop_scheduler as HTML
200
+ Parameters: {"ip"=>"0.0.0.0"}
201
+ Redirected to http://test.host/resque/schedule
202
+ Completed 302 Found in 1ms
203
+ Processing by ResqueManager::ResqueController#stop_worker as HTML
204
+ Redirected to http://test.host/resque/workers
205
+ Completed 302 Found in 2ms
206
+ Processing by ResqueManager::ResqueController#stop_worker as HTML
207
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):20052:70157221627600::"}
208
+ Redirected to http://test.host/resque/workers
209
+ Completed 302 Found in 2ms
210
+ Processing by ResqueManager::ResqueController#working as HTML
211
+ Completed 200 OK in 11ms (Views: 10.4ms)
212
+ Processing by ResqueManager::ResqueController#working as HTML
213
+ Filter chain halted as :check_connection rendered or redirected
214
+ Completed 200 OK in 5ms (Views: 4.2ms)
215
+ Processing by ResqueManager::ResqueController#add_scheduled_job as HTML
216
+ Parameters: {"name"=>"TestName", "class"=>"SingleRecordLoader", "ip"=>"0.0.0.0", "args"=>nil, "description"=>"Test job", "cron"=>"TestCron"}
217
+ Redirected to http://test.host/resque/schedule
218
+ Completed 302 Found in 2ms
219
+ Processing by ResqueManager::ResqueController#add_scheduled_job as HTML
220
+ Parameters: {"name"=>"key", "resque client connected to redis://127.0.0.1:6379/0"=>{"name"=>"key", "controller"=>"resque_manager/resque", "action"=>"add_scheduled_job"}}
221
+ Redirected to http://test.host/resque/schedule
222
+ Completed 302 Found in 1ms
223
+ Processing by ResqueManager::ResqueController#cleaner_stale as HTML
224
+ Redirected to http://test.host/resque/cleaner
225
+ Completed 302 Found in 1ms
226
+ Processing by ResqueManager::ResqueController#clear_statuses as HTML
227
+ Redirected to http://test.host/resque/statuses
228
+ Completed 302 Found in 1ms
229
+ Processing by ResqueManager::ResqueController#continue_worker as HTML
230
+ Redirected to http://test.host/resque/workers
231
+ Completed 302 Found in 1ms
232
+ Processing by ResqueManager::ResqueController#continue_worker as HTML
233
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):20121:70310972229340::"}
234
+ Redirected to http://test.host/resque/workers
235
+ Completed 302 Found in 1ms
236
+ Processing by ResqueManager::ResqueController#kill as HTML
237
+ Parameters: {"id"=>"UUID"}
238
+ Redirected to http://test.host/resque/statuses
239
+ Completed 302 Found in 3ms
240
+ Processing by ResqueManager::ResqueController#pause_worker as HTML
241
+ Redirected to http://test.host/resque/workers
242
+ Completed 302 Found in 1ms
243
+ Processing by ResqueManager::ResqueController#pause_worker as HTML
244
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):20121:70310972229340::"}
245
+ Redirected to http://test.host/resque/workers
246
+ Completed 302 Found in 1ms
247
+ Processing by ResqueManager::ResqueController#poll as HTML
248
+ Parameters: {"page"=>"overview"}
249
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_queues.html.erb (2.7ms)
250
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_working.html.erb (2.4ms)
251
+ Completed 200 OK in 26ms (Views: 1.3ms)
252
+ Processing by ResqueManager::ResqueController#queues as HTML
253
+ Completed 200 OK in 8ms (Views: 7.3ms)
254
+ Processing by ResqueManager::ResqueController#remove_from_schedule as HTML
255
+ Redirected to http://test.host/resque/schedule
256
+ Completed 302 Found in 1ms
257
+ Processing by ResqueManager::ResqueController#remove_from_schedule as HTML
258
+ Parameters: {"ip"=>"0.0.0.0", "job_name"=>"SingleRecordLoader"}
259
+ Redirected to http://test.host/resque/schedule
260
+ Completed 302 Found in 1ms
261
+ Processing by ResqueManager::ResqueController#remove_job as HTML
262
+ Parameters: {"class"=>"SingleRecordLoader"}
263
+ Redirected to http://test.host/resque/queues/single_record_loader
264
+ Completed 302 Found in 1ms
265
+ Processing by ResqueManager::ResqueController#remove_job as HTML
266
+ Parameters: {"class"=>"SingleRecordLoader"}
267
+ Redirected to http://test.host/resque/queues/single_record_loader
268
+ Completed 302 Found in 1ms
269
+ Processing by ResqueManager::ResqueController#restart_worker as HTML
270
+ Redirected to http://test.host/resque/workers
271
+ Completed 302 Found in 1ms
272
+ Processing by ResqueManager::ResqueController#restart_worker as HTML
273
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):20121:70310972229340::"}
274
+ Redirected to http://test.host/resque/workers
275
+ Completed 302 Found in 1ms
276
+ Processing by ResqueManager::ResqueController#schedule as HTML
277
+ Completed 200 OK in 38ms (Views: 9.8ms)
278
+ Processing by ResqueManager::ResqueController#schedule_requeue as HTML
279
+ Redirected to http://test.host/resque/overview
280
+ Completed 302 Found in 2ms
281
+ Processing by ResqueManager::ResqueController#start_scheduler as HTML
282
+ Parameters: {"ip"=>"0.0.0.0"}
283
+ Redirected to http://test.host/resque/schedule
284
+ Completed 302 Found in 2ms
285
+ Processing by ResqueManager::ResqueController#start_worker as HTML
286
+ Redirected to http://test.host/resque/workers
287
+ Completed 302 Found in 2ms
288
+ Processing by ResqueManager::ResqueController#start_worker as HTML
289
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):20121:70310972229340::"}
290
+ Redirected to http://test.host/resque/workers
291
+ Completed 302 Found in 1ms
292
+ Processing by ResqueManager::ResqueController#stats as HTML
293
+ Redirected to http://test.host/resque/stats?id=resque
294
+ Completed 302 Found in 1ms
295
+ Processing by ResqueManager::ResqueController#stats as HTML
296
+ Parameters: {"id"=>"txt"}
297
+ Completed 200 OK in 2ms (Views: 0.6ms)
298
+ Processing by ResqueManager::ResqueController#status as JS
299
+ Parameters: {"id"=>"UUID"}
300
+ Completed 200 OK in 2ms (Views: 0.2ms)
301
+ Processing by ResqueManager::ResqueController#status_poll as HTML
302
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_status_styles.erb (0.7ms)
303
+ Completed 200 OK in 8ms (Views: 0.4ms)
304
+ Processing by ResqueManager::ResqueController#statuses as JS
305
+ Completed 200 OK in 2ms (Views: 0.4ms)
306
+ Processing by ResqueManager::ResqueController#stop_scheduler as HTML
307
+ Parameters: {"ip"=>"0.0.0.0"}
308
+ Redirected to http://test.host/resque/schedule
309
+ Completed 302 Found in 1ms
310
+ Processing by ResqueManager::ResqueController#stop_worker as HTML
311
+ Redirected to http://test.host/resque/workers
312
+ Completed 302 Found in 1ms
313
+ Processing by ResqueManager::ResqueController#stop_worker as HTML
314
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):20121:70310972229340::"}
315
+ Redirected to http://test.host/resque/workers
316
+ Completed 302 Found in 1ms
317
+ Processing by ResqueManager::ResqueController#working as HTML
318
+ Completed 200 OK in 7ms (Views: 5.9ms)
319
+ Processing by ResqueManager::ResqueController#working as HTML
320
+ Filter chain halted as :check_connection rendered or redirected
321
+ Completed 200 OK in 5ms (Views: 4.7ms)
322
+ Processing by ResqueManager::ResqueController#add_scheduled_job as HTML
323
+ Parameters: {"name"=>"TestName", "class"=>"SingleRecordLoader", "ip"=>"0.0.0.0", "args"=>nil, "description"=>"Test job", "cron"=>"TestCron"}
324
+ Redirected to http://test.host/resque/schedule
325
+ Completed 302 Found in 2ms
326
+ Processing by ResqueManager::ResqueController#add_scheduled_job as HTML
327
+ Parameters: {"name"=>"key", "resque client connected to redis://127.0.0.1:6379/0"=>{"name"=>"key", "controller"=>"resque_manager/resque", "action"=>"add_scheduled_job"}}
328
+ Redirected to http://test.host/resque/schedule
329
+ Completed 302 Found in 1ms
330
+ Processing by ResqueManager::ResqueController#cleaner_stale as HTML
331
+ Redirected to http://test.host/resque/cleaner
332
+ Completed 302 Found in 1ms
333
+ Processing by ResqueManager::ResqueController#clear_statuses as HTML
334
+ Redirected to http://test.host/resque/statuses
335
+ Completed 302 Found in 1ms
336
+ Processing by ResqueManager::ResqueController#continue_worker as HTML
337
+ Redirected to http://test.host/resque/workers
338
+ Completed 302 Found in 1ms
339
+ Processing by ResqueManager::ResqueController#continue_worker as HTML
340
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):20223:70232815568600::"}
341
+ Redirected to http://test.host/resque/workers
342
+ Completed 302 Found in 1ms
343
+ Processing by ResqueManager::ResqueController#kill as HTML
344
+ Parameters: {"id"=>"UUID"}
345
+ Redirected to http://test.host/resque/statuses
346
+ Completed 302 Found in 3ms
347
+ Processing by ResqueManager::ResqueController#pause_worker as HTML
348
+ Redirected to http://test.host/resque/workers
349
+ Completed 302 Found in 1ms
350
+ Processing by ResqueManager::ResqueController#pause_worker as HTML
351
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):20223:70232815568600::"}
352
+ Redirected to http://test.host/resque/workers
353
+ Completed 302 Found in 1ms
354
+ Processing by ResqueManager::ResqueController#poll as HTML
355
+ Parameters: {"page"=>"overview"}
356
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_queues.html.erb (2.5ms)
357
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_working.html.erb (2.0ms)
358
+ Completed 200 OK in 23ms (Views: 1.3ms)
359
+ Processing by ResqueManager::ResqueController#queues as HTML
360
+ Completed 200 OK in 9ms (Views: 8.1ms)
361
+ Processing by ResqueManager::ResqueController#remove_from_schedule as HTML
362
+ Redirected to http://test.host/resque/schedule
363
+ Completed 302 Found in 1ms
364
+ Processing by ResqueManager::ResqueController#remove_from_schedule as HTML
365
+ Parameters: {"ip"=>"0.0.0.0", "job_name"=>"SingleRecordLoader"}
366
+ Redirected to http://test.host/resque/schedule
367
+ Completed 302 Found in 1ms
368
+ Processing by ResqueManager::ResqueController#remove_job as HTML
369
+ Parameters: {"class"=>"SingleRecordLoader"}
370
+ Redirected to http://test.host/resque/queues/single_record_loader
371
+ Completed 302 Found in 1ms
372
+ Processing by ResqueManager::ResqueController#remove_job as HTML
373
+ Parameters: {"class"=>"SingleRecordLoader"}
374
+ Redirected to http://test.host/resque/queues/single_record_loader
375
+ Completed 302 Found in 1ms
376
+ Processing by ResqueManager::ResqueController#restart_worker as HTML
377
+ Redirected to http://test.host/resque/workers
378
+ Completed 302 Found in 1ms
379
+ Processing by ResqueManager::ResqueController#restart_worker as HTML
380
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):20223:70232815568600::"}
381
+ Redirected to http://test.host/resque/workers
382
+ Completed 302 Found in 1ms
383
+ Processing by ResqueManager::ResqueController#schedule as HTML
384
+ Completed 200 OK in 46ms (Views: 16.4ms)
385
+ Processing by ResqueManager::ResqueController#schedule_requeue as HTML
386
+ Redirected to http://test.host/resque/overview
387
+ Completed 302 Found in 2ms
388
+ Processing by ResqueManager::ResqueController#start_scheduler as HTML
389
+ Parameters: {"ip"=>"0.0.0.0"}
390
+ Redirected to http://test.host/resque/schedule
391
+ Completed 302 Found in 2ms
392
+ Processing by ResqueManager::ResqueController#start_worker as HTML
393
+ Redirected to http://test.host/resque/workers
394
+ Completed 302 Found in 2ms
395
+ Processing by ResqueManager::ResqueController#start_worker as HTML
396
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):20223:70232815568600::"}
397
+ Redirected to http://test.host/resque/workers
398
+ Completed 302 Found in 1ms
399
+ Processing by ResqueManager::ResqueController#stats as HTML
400
+ Redirected to http://test.host/resque/stats?id=resque
401
+ Completed 302 Found in 2ms
402
+ Processing by ResqueManager::ResqueController#stats as HTML
403
+ Parameters: {"id"=>"txt"}
404
+ Completed 200 OK in 3ms (Views: 0.8ms)
405
+ Processing by ResqueManager::ResqueController#status as JS
406
+ Parameters: {"id"=>"UUID"}
407
+ Completed 200 OK in 2ms (Views: 0.3ms)
408
+ Processing by ResqueManager::ResqueController#status_poll as HTML
409
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_status_styles.erb (0.5ms)
410
+ Completed 200 OK in 7ms (Views: 0.3ms)
411
+ Processing by ResqueManager::ResqueController#statuses as JS
412
+ Completed 200 OK in 2ms (Views: 0.4ms)
413
+ Processing by ResqueManager::ResqueController#stop_scheduler as HTML
414
+ Parameters: {"ip"=>"0.0.0.0"}
415
+ Redirected to http://test.host/resque/schedule
416
+ Completed 302 Found in 2ms
417
+ Processing by ResqueManager::ResqueController#stop_worker as HTML
418
+ Redirected to http://test.host/resque/workers
419
+ Completed 302 Found in 1ms
420
+ Processing by ResqueManager::ResqueController#stop_worker as HTML
421
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):20223:70232815568600::"}
422
+ Redirected to http://test.host/resque/workers
423
+ Completed 302 Found in 2ms
424
+ Processing by ResqueManager::ResqueController#working as HTML
425
+ Completed 200 OK in 8ms (Views: 6.7ms)
426
+ Processing by ResqueManager::ResqueController#working as HTML
427
+ Filter chain halted as :check_connection rendered or redirected
428
+ Completed 200 OK in 4ms (Views: 3.9ms)
429
+ Processing by ResqueManager::ResqueController#add_scheduled_job as HTML
430
+ Parameters: {"name"=>"TestName", "class"=>"SingleRecordLoader", "ip"=>"0.0.0.0", "args"=>nil, "description"=>"Test job", "cron"=>"TestCron"}
431
+ Redirected to http://test.host/resque/schedule
432
+ Completed 302 Found in 2ms
433
+ Processing by ResqueManager::ResqueController#add_scheduled_job as HTML
434
+ Parameters: {"name"=>"key", "resque client connected to redis://127.0.0.1:6379/0"=>{"name"=>"key", "controller"=>"resque_manager/resque", "action"=>"add_scheduled_job"}}
435
+ Redirected to http://test.host/resque/schedule
436
+ Completed 302 Found in 1ms
437
+ Processing by ResqueManager::ResqueController#cleaner_stale as HTML
438
+ Redirected to http://test.host/resque/cleaner
439
+ Completed 302 Found in 1ms
440
+ Processing by ResqueManager::ResqueController#clear_statuses as HTML
441
+ Redirected to http://test.host/resque/statuses
442
+ Completed 302 Found in 1ms
443
+ Processing by ResqueManager::ResqueController#continue_worker as HTML
444
+ Redirected to http://test.host/resque/workers
445
+ Completed 302 Found in 1ms
446
+ Processing by ResqueManager::ResqueController#continue_worker as HTML
447
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):20266:70173331949260::"}
448
+ Redirected to http://test.host/resque/workers
449
+ Completed 302 Found in 1ms
450
+ Processing by ResqueManager::ResqueController#kill as HTML
451
+ Parameters: {"id"=>"UUID"}
452
+ Redirected to http://test.host/resque/statuses
453
+ Completed 302 Found in 3ms
454
+ Processing by ResqueManager::ResqueController#pause_worker as HTML
455
+ Redirected to http://test.host/resque/workers
456
+ Completed 302 Found in 1ms
457
+ Processing by ResqueManager::ResqueController#pause_worker as HTML
458
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):20266:70173331949260::"}
459
+ Redirected to http://test.host/resque/workers
460
+ Completed 302 Found in 1ms
461
+ Processing by ResqueManager::ResqueController#poll as HTML
462
+ Parameters: {"page"=>"overview"}
463
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_queues.html.erb (2.9ms)
464
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_working.html.erb (2.4ms)
465
+ Completed 200 OK in 24ms (Views: 1.3ms)
466
+ Processing by ResqueManager::ResqueController#queues as HTML
467
+ Completed 200 OK in 9ms (Views: 8.2ms)
468
+ Processing by ResqueManager::ResqueController#remove_from_schedule as HTML
469
+ Redirected to http://test.host/resque/schedule
470
+ Completed 302 Found in 1ms
471
+ Processing by ResqueManager::ResqueController#remove_from_schedule as HTML
472
+ Parameters: {"ip"=>"0.0.0.0", "job_name"=>"SingleRecordLoader"}
473
+ Redirected to http://test.host/resque/schedule
474
+ Completed 302 Found in 1ms
475
+ Processing by ResqueManager::ResqueController#remove_job as HTML
476
+ Parameters: {"class"=>"SingleRecordLoader"}
477
+ Redirected to http://test.host/resque/queues/single_record_loader
478
+ Completed 302 Found in 1ms
479
+ Processing by ResqueManager::ResqueController#remove_job as HTML
480
+ Parameters: {"class"=>"SingleRecordLoader"}
481
+ Redirected to http://test.host/resque/queues/single_record_loader
482
+ Completed 302 Found in 1ms
483
+ Processing by ResqueManager::ResqueController#restart_worker as HTML
484
+ Redirected to http://test.host/resque/workers
485
+ Completed 302 Found in 1ms
486
+ Processing by ResqueManager::ResqueController#restart_worker as HTML
487
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):20266:70173331949260::"}
488
+ Redirected to http://test.host/resque/workers
489
+ Completed 302 Found in 2ms
490
+ Processing by ResqueManager::ResqueController#schedule as HTML
491
+ Completed 500 Internal Server Error in 1ms
492
+ Processing by ResqueManager::ResqueController#schedule_requeue as HTML
493
+ Redirected to http://test.host/resque/overview
494
+ Completed 302 Found in 1ms
495
+ Processing by ResqueManager::ResqueController#start_scheduler as HTML
496
+ Parameters: {"ip"=>"0.0.0.0"}
497
+ Redirected to http://test.host/resque/schedule
498
+ Completed 302 Found in 1ms
499
+ Processing by ResqueManager::ResqueController#start_worker as HTML
500
+ Redirected to http://test.host/resque/workers
501
+ Completed 302 Found in 2ms
502
+ Processing by ResqueManager::ResqueController#start_worker as HTML
503
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):20266:70173331949260::"}
504
+ Redirected to http://test.host/resque/workers
505
+ Completed 302 Found in 1ms
506
+ Processing by ResqueManager::ResqueController#stats as HTML
507
+ Redirected to http://test.host/resque/stats?id=resque
508
+ Completed 302 Found in 1ms
509
+ Processing by ResqueManager::ResqueController#stats as HTML
510
+ Parameters: {"id"=>"txt"}
511
+ Completed 200 OK in 2ms (Views: 0.5ms)
512
+ Processing by ResqueManager::ResqueController#status as JS
513
+ Parameters: {"id"=>"UUID"}
514
+ Completed 200 OK in 2ms (Views: 0.4ms)
515
+ Processing by ResqueManager::ResqueController#status_poll as HTML
516
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_status_styles.erb (0.6ms)
517
+ Completed 200 OK in 7ms (Views: 0.3ms)
518
+ Processing by ResqueManager::ResqueController#statuses as JS
519
+ Completed 200 OK in 1ms (Views: 0.3ms)
520
+ Processing by ResqueManager::ResqueController#stop_scheduler as HTML
521
+ Parameters: {"ip"=>"0.0.0.0"}
522
+ Redirected to http://test.host/resque/schedule
523
+ Completed 302 Found in 1ms
524
+ Processing by ResqueManager::ResqueController#stop_worker as HTML
525
+ Redirected to http://test.host/resque/workers
526
+ Completed 302 Found in 1ms
527
+ Processing by ResqueManager::ResqueController#stop_worker as HTML
528
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):20266:70173331949260::"}
529
+ Redirected to http://test.host/resque/workers
530
+ Completed 302 Found in 1ms
531
+ Processing by ResqueManager::ResqueController#working as HTML
532
+ Completed 200 OK in 10ms (Views: 9.4ms)
533
+ Processing by ResqueManager::ResqueController#working as HTML
534
+ Filter chain halted as :check_connection rendered or redirected
535
+ Completed 200 OK in 5ms (Views: 4.4ms)
536
+ Processing by ResqueManager::ResqueController#add_scheduled_job as HTML
537
+ Parameters: {"name"=>"TestName", "class"=>"SingleRecordLoader", "ip"=>"0.0.0.0", "args"=>nil, "description"=>"Test job", "cron"=>"TestCron"}
538
+ Redirected to http://test.host/resque/schedule
539
+ Completed 302 Found in 3ms
540
+ Processing by ResqueManager::ResqueController#add_scheduled_job as HTML
541
+ Parameters: {"name"=>"key", "resque client connected to redis://127.0.0.1:6379/0"=>{"name"=>"key", "controller"=>"resque_manager/resque", "action"=>"add_scheduled_job"}}
542
+ Redirected to http://test.host/resque/schedule
543
+ Completed 302 Found in 1ms
544
+ Processing by ResqueManager::ResqueController#cleaner_stale as HTML
545
+ Redirected to http://test.host/resque/cleaner
546
+ Completed 302 Found in 2ms
547
+ Processing by ResqueManager::ResqueController#clear_statuses as HTML
548
+ Redirected to http://test.host/resque/statuses
549
+ Completed 302 Found in 24ms
550
+ Processing by ResqueManager::ResqueController#continue_worker as HTML
551
+ Redirected to http://test.host/resque/workers
552
+ Completed 302 Found in 2ms
553
+ Processing by ResqueManager::ResqueController#continue_worker as HTML
554
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):20304:70285353420500::"}
555
+ Redirected to http://test.host/resque/workers
556
+ Completed 302 Found in 2ms
557
+ Processing by ResqueManager::ResqueController#kill as HTML
558
+ Parameters: {"id"=>"UUID"}
559
+ Redirected to http://test.host/resque/statuses
560
+ Completed 302 Found in 3ms
561
+ Processing by ResqueManager::ResqueController#pause_worker as HTML
562
+ Redirected to http://test.host/resque/workers
563
+ Completed 302 Found in 1ms
564
+ Processing by ResqueManager::ResqueController#pause_worker as HTML
565
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):20304:70285353420500::"}
566
+ Redirected to http://test.host/resque/workers
567
+ Completed 302 Found in 2ms
568
+ Processing by ResqueManager::ResqueController#poll as HTML
569
+ Parameters: {"page"=>"overview"}
570
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_queues.html.erb (3.1ms)
571
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_working.html.erb (2.2ms)
572
+ Completed 200 OK in 24ms (Views: 1.6ms)
573
+ Processing by ResqueManager::ResqueController#queues as HTML
574
+ Completed 200 OK in 8ms (Views: 7.7ms)
575
+ Processing by ResqueManager::ResqueController#remove_from_schedule as HTML
576
+ Redirected to http://test.host/resque/schedule
577
+ Completed 302 Found in 1ms
578
+ Processing by ResqueManager::ResqueController#remove_from_schedule as HTML
579
+ Parameters: {"ip"=>"0.0.0.0", "job_name"=>"SingleRecordLoader"}
580
+ Redirected to http://test.host/resque/schedule
581
+ Completed 302 Found in 1ms
582
+ Processing by ResqueManager::ResqueController#remove_job as HTML
583
+ Parameters: {"class"=>"SingleRecordLoader"}
584
+ Redirected to http://test.host/resque/queues/single_record_loader
585
+ Completed 302 Found in 1ms
586
+ Processing by ResqueManager::ResqueController#remove_job as HTML
587
+ Parameters: {"class"=>"SingleRecordLoader"}
588
+ Redirected to http://test.host/resque/queues/single_record_loader
589
+ Completed 302 Found in 1ms
590
+ Processing by ResqueManager::ResqueController#restart_worker as HTML
591
+ Redirected to http://test.host/resque/workers
592
+ Completed 302 Found in 2ms
593
+ Processing by ResqueManager::ResqueController#restart_worker as HTML
594
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):20304:70285353420500::"}
595
+ Redirected to http://test.host/resque/workers
596
+ Completed 302 Found in 1ms
597
+ Processing by ResqueManager::ResqueController#schedule as HTML
598
+ Completed 200 OK in 41ms (Views: 12.4ms)
599
+ Processing by ResqueManager::ResqueController#schedule_requeue as HTML
600
+ Redirected to http://test.host/resque/overview
601
+ Completed 302 Found in 2ms
602
+ Processing by ResqueManager::ResqueController#start_scheduler as HTML
603
+ Parameters: {"ip"=>"0.0.0.0"}
604
+ Redirected to http://test.host/resque/schedule
605
+ Completed 302 Found in 1ms
606
+ Processing by ResqueManager::ResqueController#start_worker as HTML
607
+ Redirected to http://test.host/resque/workers
608
+ Completed 302 Found in 2ms
609
+ Processing by ResqueManager::ResqueController#start_worker as HTML
610
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):20304:70285353420500::"}
611
+ Redirected to http://test.host/resque/workers
612
+ Completed 302 Found in 1ms
613
+ Processing by ResqueManager::ResqueController#stats as HTML
614
+ Redirected to http://test.host/resque/stats?id=resque
615
+ Completed 302 Found in 2ms
616
+ Processing by ResqueManager::ResqueController#stats as HTML
617
+ Parameters: {"id"=>"txt"}
618
+ Completed 200 OK in 2ms (Views: 0.7ms)
619
+ Processing by ResqueManager::ResqueController#status as JS
620
+ Parameters: {"id"=>"UUID"}
621
+ Completed 200 OK in 2ms (Views: 0.4ms)
622
+ Processing by ResqueManager::ResqueController#status_poll as HTML
623
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_status_styles.erb (0.7ms)
624
+ Completed 200 OK in 8ms (Views: 0.4ms)
625
+ Processing by ResqueManager::ResqueController#statuses as JS
626
+ Completed 200 OK in 2ms (Views: 0.3ms)
627
+ Processing by ResqueManager::ResqueController#stop_scheduler as HTML
628
+ Parameters: {"ip"=>"0.0.0.0"}
629
+ Redirected to http://test.host/resque/schedule
630
+ Completed 302 Found in 1ms
631
+ Processing by ResqueManager::ResqueController#stop_worker as HTML
632
+ Redirected to http://test.host/resque/workers
633
+ Completed 302 Found in 2ms
634
+ Processing by ResqueManager::ResqueController#stop_worker as HTML
635
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):20304:70285353420500::"}
636
+ Redirected to http://test.host/resque/workers
637
+ Completed 302 Found in 1ms
638
+ Processing by ResqueManager::ResqueController#working as HTML
639
+ Completed 200 OK in 7ms (Views: 6.5ms)
640
+ Processing by ResqueManager::ResqueController#working as HTML
641
+ Filter chain halted as :check_connection rendered or redirected
642
+ Completed 200 OK in 4ms (Views: 4.1ms)