RubyGems Navigation menu

spawn-block 2.0

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).

Versions:

  1. 2.0 - August 8, 2010 (12.5 KB)

Authors:

  • Tom Anderson

Owners:

4d8758617e2591869d1c0c2cf0f47d4a

Total downloads 1,320

For this version 1,320

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'spawn-block', '~> 2.0' = Copy to clipboard Copied!

install:
gem install spawn-block = Copy to clipboard Copied!

Links: