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

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 2.0 - April 03, 2013 (12.5 KB)

Owners:

Authors:

  • Tom Anderson

SHA 256 checksum:

075c04468816a23949618ed4121990cf61bac895b29c3a0e5212ccce446653ea

Total downloads 4,688

For this version 4,688

Licenses:

N/A

Required Ruby Version: None

Required Rubygems Version: >= 1.3.6

Links: