search for: lazy_load

Displaying 6 results from an estimated 6 matches for "lazy_load".

2008 Mar 27
0
lazy_load config bug
Hi there, This is in master_worker.rb at 266 - it looks to me that there is a bug in reading the lazy_loading property. The line below doesn''t work if lazy_load: true is specified in the yml. lazy_load = CONFIG_FILE[:backgroundrb][:lazy_load].nil? ? true : CONFIG_FILE[:backgroundrb][:lazy_load].nil? should say something like this: lazy_load = CONFIG_FILE[:backgroundrb][:lazy_load] || true...
2008 Jan 04
1
Updates and Fixes on Trunk
Hi, I am pushing some updates and fixes that addresses much of the issues that we talked about since last couple of days. 1. Use configuration option :debug_log: false to disable backgroundrb_debug.log. 2. As shown below, use lazy_load option to disable aggressive loading of models ( and somewhat stupid too). 3. MiddleMan.delete_worker(:worker => :foo_worker) will now ABORT the worker, it won''t wait for tasks to finish. I am still skeptic about the behavior, but since that was the behavior in older version, I am cont...
2008 Mar 09
1
Multiple deployments of same application using backgroundrb
Thanks for this great app. I am having some problems configuring it in my server. I have a single app deployed three times, one is for testing, one is for demoing and the other one is for production. I read that it was unnecesary and it will not work to have multiple instances of backgroundrb for each of my deployments. I read that it was enough to instantiate backgroundrb only once from one of
2008 May 05
2
Deploying to a staging server using Capistrano: how to start up BackgrounDRb?
...19 My backgroundrb.yml file: :backgroundrb: :ip: 0.0.0.0 :development: :backgroundrb: :port: 11006 # use port 11006 :log: foreground # foreground mode,print log messages on console :debug_log: true :staging: :backgroundrb: :port: 22222 # use port 22222 :lazy_load: true # do not load models eagerly :debug_log: false # disable log workers and other logging :production: :backgroundrb: :port: 33333 # use port 33333 :lazy_load: true # do not load models eagerly :debug_log: false # disable log workers and other logging My worker: c...
2008 Jan 09
0
BackgrounDRb 1.0.1 release available now
...ates, so please upgrade. Code: http://svn.devjavu.com/backgroundrb/tags/release-1.0.1/ Updates and Fixes: * Fixed issue with Mysql Lost connections * Message debugging can be disabled now with ''debug_log'' option in configuration file( :debug_log: false) * Use lazy load (:lazy_load: true) of models in master * MiddleMan.delete_worker aborts a worker immediately now. * Get information about all running workers. ( MiddleMan.all_worker_info) * Enable setting of thread pool size. Tasks can be queued easily now. * Introspect a running worker ( MiddleMan.worker_info, note that...
2008 May 20
7
Problems sending large results with backgroundrb
I''m working on an application that does extensive database searching. These searches can take a long time, so we have been working on moving the searches to a backgroundrb worker task so we can provide a sexy AJAX progress bar, and populate the search results as they are available. All of this seems to work fine until the size of the search results gets sufficiently large, when we start