Commit 6293cb3857c0bdd89dcc249f7187ab0036c06dc3
1 parent
c4f52f88
Exists in
master
and in
1 other branch
try to fix delayed_jobs
Showing
7 changed files
with
1 additions
and
5 deletions
Show diff stats
app/models/v_libras/request.rb
lib/api_client/callback_processor.rb
lib/api_client/client.rb
| ... | ... | @@ -8,7 +8,7 @@ module ApiClient::Client |
| 8 | 8 | |
| 9 | 9 | def self.submit(request, files) |
| 10 | 10 | options = process_params(request, files) |
| 11 | - | |
| 11 | + Rails.logger.debug "[VLibras::Submit] Join to submit a new request" | |
| 12 | 12 | Delayed::Worker.logger.debug "[VLibras::Request] Options: #{options}" |
| 13 | 13 | response = self.post(ApiClient::API_URL, options) |
| 14 | 14 | Delayed::Worker.logger.debug "[VLibras::Request] Status #{response.response.code}" |
| ... | ... | @@ -24,7 +24,6 @@ module ApiClient::Client |
| 24 | 24 | ensure |
| 25 | 25 | # FIXME: Running on another thread. Websocket not working :( |
| 26 | 26 | Delayed::Worker.logger.debug "[VLibras::Request] Sending message to websocket channel" |
| 27 | -# WebsocketRails[:requests_update].trigger(:video_submitted, { :owner_id => request.owner_id }) | |
| 28 | 27 | end |
| 29 | 28 | |
| 30 | 29 | ... | ... |