Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix problem with executing task on dynamically created workers

  • Loading branch information...
commit 692c4a4b5d3f5fef886660bc6d8d2fd75f73392c 1 parent d226ab2
Hemant Kumar gnufied authored
2  app/controller/backgroundrb_status_controller.rb
View
@@ -1,4 +1,4 @@
-class BackgroundrbStatusController < ActionController::Base
+class BackgroundrbStatusController < ApplicationController
def index
status = MiddleMan.all_worker_info
render :text => status
2  init.rb
View
@@ -4,4 +4,4 @@
end
require 'backgroundrb'
-require "backgroundrb_status_controller"
+#require "backgroundrb_status_controller"
2  lib/backgroundrb/bdrb_connection.rb
View
@@ -93,7 +93,7 @@ def new_worker p_data
p_data[:type] = :start_worker
dump_object(p_data)
close_connection
- p_data[:worker_key]
+ RailsWorkerProxy.worker(p_data[:worker],p_data[:worker_key],self)
end
def worker_info(p_data)
7 test_points.org
View
@@ -10,8 +10,11 @@
** sending of large objects around is working
** sending of rails AR objects is working
** sending of rails AR objects with plugin is working
-** Environment is getting loaded properly through config file and command line argument
-** People are unable to call ActionController methods
+** Environment is getting loaded properly through config file and command line argument.
+** People are unable to call ActionController methods.
+** People should be able to use multiple args while invoking methods.
+** Check if clustering is working.
+** Check if queue is working.
* Problem with new experimental API
** there is an issue if user invokes multiple tasks in thread pool directly from one of the worker
Please sign in to comment.
Something went wrong with that request. Please try again.