Commit c4f52f8845f3e2bfb3f3310b99a04a0ce5e91a24
1 parent
2bb41fc0
Exists in
master
and in
1 other branch
trying to fix websocket error
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
lib/api_client/client.rb
| ... | ... | @@ -7,7 +7,6 @@ module ApiClient::Client |
| 7 | 7 | |
| 8 | 8 | |
| 9 | 9 | def self.submit(request, files) |
| 10 | - p 'AEAEAEAEAEAEAEEAAEE' | |
| 11 | 10 | options = process_params(request, files) |
| 12 | 11 | |
| 13 | 12 | Delayed::Worker.logger.debug "[VLibras::Request] Options: #{options}" |
| ... | ... | @@ -25,7 +24,7 @@ module ApiClient::Client |
| 25 | 24 | ensure |
| 26 | 25 | # FIXME: Running on another thread. Websocket not working :( |
| 27 | 26 | Delayed::Worker.logger.debug "[VLibras::Request] Sending message to websocket channel" |
| 28 | - WebsocketRails[:requests_update].trigger(:video_submitted, { :owner_id => request.owner_id }) | |
| 27 | +# WebsocketRails[:requests_update].trigger(:video_submitted, { :owner_id => request.owner_id }) | |
| 29 | 28 | end |
| 30 | 29 | |
| 31 | 30 | ... | ... |