RubyGems.org

This plugin provides a 'Spawn' class to easily fork OR thread long-running sections of code so that your application can return results to your users more quickly. This plugin works by creating new database connections in ActiveRecord::Base for the spawned block. The plugin also patches ActiveRecord::Base to handle some known bugs when using threads (see lib/patches.rb).

installgem install spawn-block
Authors

Tom Anderson

1,264 total downloads 1,264 for this version
Owners

4d8758617e2591869d1c0c2cf0f47d4a

Gemfile
gem 'spawn-block', '~> 2.0'
Versions
  1. 2.0 August 8, 2010 (12.5 KB)