Permalink
Browse files

fix problem with executing task on dynamically created workers

  • Loading branch information...
1 parent d226ab2 commit 692c4a4b5d3f5fef886660bc6d8d2fd75f73392c @gnufied committed Jun 23, 2008
Showing with 8 additions and 5 deletions.
  1. +1 −1 app/controller/backgroundrb_status_controller.rb
  2. +1 −1 init.rb
  3. +1 −1 lib/backgroundrb/bdrb_connection.rb
  4. +5 −2 test_points.org
@@ -1,4 +1,4 @@
-class BackgroundrbStatusController < ActionController::Base
+class BackgroundrbStatusController < ApplicationController
def index
status = MiddleMan.all_worker_info
render :text => status
View
@@ -4,4 +4,4 @@
end
require 'backgroundrb'
-require "backgroundrb_status_controller"
+#require "backgroundrb_status_controller"
@@ -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)
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

0 comments on commit 692c4a4

Please sign in to comment.