similar to: BackgroundRB for multiple parallel tasks: thread or worker?

Displaying 20 results from an estimated 300 matches similar to: "BackgroundRB for multiple parallel tasks: thread or worker?"

2004 Jul 29
0
*** Asterisk Summer News: The heat is on!
Another issue of Asterisk Summer News, delivered right to your mailbox! Back here in Sweden, it's finally summer weather. Sunshine and some heat. It's good for our ice bears and the snow houses to get some sunshine :-) Asterisk development and IRC chat has gone into a lazy summer mode, but the mailing list is still cooking. It's impossible to keep up with it, for both gurus and
2020 Nov 19
2
Odd VPN connectivity problem
On Thu, 2020-11-19 at 10:48 +0100, Marco Gaiarin via samba wrote: > Mandi! Jon Gerdes via samba > ? In chel di` si favelave... > > > I think that winbind is binding to an address and claiming to be the wrong one when the VPN is running and hence > > breaking things.? I've tried "bind interfaces only" but that does not work.? > > OpenVPN and Samba on the
2006 Nov 03
2
tasks need --rakelibdir
Hey, quick question: what am I missing that I always need to pass the ''--rakelibdir vendor/plugins/backgroundrb/tasks'' option to rake? thanks, James
2006 Oct 04
0
do_work and long running rails tasks?
Hi there I have some long running queries against a nice litte database (20 million new records per day) that I have offloaded to backgroundRB. The trouble is, that backgroundrb seems to be blockin on Model.find calls. Here''s the code --- worker.rb -- def do_work(args) @rows = [] @percent = 0 @host = Host.find( args[:id]) ips = @host.ipaddresses step
2007 Jul 23
1
Ferret indexing problem through rake tasks
I''m having a weird problem. Recently, on all my environments, one of my two indexed models is not returning any results to acts_as_ferret. However, the folder is being created for it and Im not receiving any errors. On my two models, I call the following: Book.rebuild_index User.rebuild_index When I call those commands through either my live app "ruby script/server" or
2007 Dec 16
0
Running default rake tasks?
I installed via piston and when in vendor/plugins/backgroundrb, I attempt to run the default rake task: (in /home/wallace/new_bdrb-wheels/vendor/plugins/backgroundrb) rake aborted! no such file to load -- spec/rake/spectask /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require''
2007 Jan 29
0
tasks bouncing between CPUs
I've a dual core system (see /proc/cpuinfo at the end) running CentOS 4.4 (fully up-to-date) and I'm running a PHP script that's parsing files and dumping the results into a database. Software versions: # rpm -q php php-4.3.9-3.22 # rpm -q MySQL-server-standard MySQL-server-standard-5.0.27-0.rhel4 # uname -srvmpio Linux 2.6.9-42.0.3.ELsmp #1 SMP Fri Oct 6 06:21:39 CDT 2006 i686
2006 Jul 21
1
Capistrano before and after tasks
I try to extend db:test:copy_structure task to poulate test database with some existing data everytime i run it. It seems that "after_" task is not called as should be: > namespace :db do > namespace :test do > task :after_clone_structure do > puts "after_clone_structure_to_test" > end > end > end Anyone know what I am doing wrong?
2006 Apr 28
0
rake tasks on test environment
Hello, How do I change the environment for rake tasks on command line. For example, if I want to do ''rake bootstrap'' on the test database. How will I do it from command line? I don''t want to make changes to the environmehnt.rb file. thanks. -- Surendra Singhi http://ssinghi.kreeti.com, http://www.kreeti.com Read my blog at: http://cuttingtheredtape.blogspot.com/
2006 Mar 21
0
Automatic namespacing of custom Rake tasks
As you know you can create your own .rake files in lib/tasks and Rails will automatically find them - as Rake 0.7 adds namespace support and Rails is already taking advantage of these namespaces if you are on Edge Rails I thought it would make a lot of sense if Rails automatically namespaced your own custom rake files, so I raised a ticket for this and I''ve now implemented it
2006 Mar 21
2
Capistrano: creating your own tasks
When I create a task within capistrano.rb I can call it using rake. When I create a task and put it in deploy.rb I can call it. Neither with or without the remote: namespace. Anyone have any insight into why it does not work? John Kopanas
2006 Mar 23
0
Delayed scripts and tasks
Has anyone else had a problem with scripts and tasks going really slow? For example, "rake migrate" alone took me 3 minutes for two migrations, and the total time reported for the two migrations was .172 seconds. Similarily, "ruby script/destroy model" produced no output for a few minutes and then destroyed all the appropriate files in a fraction of a second. I
2008 Jan 29
1
Off Loading tasks to Background.rb
Didn''t someone mention that they were using background.rb to move some of the api calls to a background process? Can they explain what they are doing a little further? I think it was Mike, but I can''t find the message in my archives. Thanks, ----- BJ Clark the science department bjclark at scidept.com www.scidept.com
2008 Mar 18
0
rake tasks
Hi All, New to merb, I was wondering if there are any similar rake tasks to that of the rails rake stats? Im using merb version 0.5.3 Tried the aok task and am getting the following: eoghan-js-Computer:test_app eoghanj$ rake aok (in /project/merb/test_app) /usr/local/lib/ruby/gems/1.8/gems/merb-0.5.3/lib/merb/version.rb:45: warning: already initialized constant RELEASE rake rcov (in
2009 Nov 02
0
testing Rake tasks with FakeFS
Jake Benilov wrote: > Hello Ben, > Hi Jake, I hope you don''t mind but I am copying this response to the rspec-users list in case any one else is able to shed more light on it. > I have a bit of a newbie question regarding fakefs; I want to test Rake > tasks using fakefs and rspec: > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > require
2009 Apr 24
1
Can rails environments be loaded only once and then execute rake tasks without loading it again and again?
Hi there guys, I have a daemon that executes a rake task periodically in a loop in the backend. And every time it runs the rake task, rails environment is reloaded. Is there a way that the rails environment is loaded only once before the loop and the following rake task will not load it again and again? Thank you in advance.
2009 Aug 12
0
Like Google tasks
Hello friends, I am looking out something similar functionality like google tasks do, i mean the behavior of the task popup window. Is there any Javascript library available which I can integrate Thanks Abhis
2013 Feb 28
0
Rake tasks db:test:prepare cannot be executed in the same task of db:reset or db:migrate
Hey all, I''m trying to create a task that prepare the environment to start programming. To do so, I created a task like this *task :setup_env => [''db:reset'', ''db:migrate'', ''db:test:prepare'']* and observed that after execute * rake setup_env*, it never execute db:test:prepare properly. In order to get the schema cloned to test db,
2008 Apr 11
0
expiring cache outside controller (e.g. in rake tasks)
Hello, I need to expire cache outside controller, in my rake tasks. I want to use standard methods expire_fragment,etc.. but I can''t manage to use them outside controllers. I tried including ActiveController::Caching::Actions but didn''t work. Anyone has any solution? I''m losing my head how to do it... (besides manually deleting files) Thanks Uros
2007 Jan 20
0
Rails can't find my Rake Tasks
Hi, I''ve added some rake tasks to my rails project but on my production server, rails is not finding the tasks. On my dev box however, rails finds them no problem. They are located in the lib/tasks folder in a file ending in .rake. I do a rake -T and nothing shows up for it. There are a lot of other tasks that show up though. My production server is Redhat where as my dev is Windows