Sha256: 728b3ecb7f602668ee1b1faddb268e309fa903438860dfb4bedf88a86afe2780

Contents?: true

Size: 517 Bytes

Versions: 21

Compression:

Stored size: 517 Bytes

Contents

module Spider
    
    config_option 'worker.enable', :type => Spider::DataTypes::Bool, :default => lambda{ Spider.config.get('runmode') == 'devel' ? false : true }
    config_option 'worker.fork', :type => Spider::DataTypes::Bool, :default => lambda{
      RUBY_PLATFORM =~ /win32|mingw32/ ? false : true
    }
    config_option 'worker.detach', :type => Spider::DataTypes::Bool, :default => true
    config_option 'worker.jobs_interval', _("Seconds between each jobs run"), :type => Fixnum, :default => 60
    
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
spiderfw-0.6.9 apps/worker/config/options.rb
spiderfw-0.6.8 apps/worker/config/options.rb
spiderfw-0.6.7 apps/worker/config/options.rb
spiderfw-0.6.6 apps/worker/config/options.rb
spiderfw-0.6.5 apps/worker/config/options.rb
spiderfw-0.6.4 apps/worker/config/options.rb
spiderfw-0.6.3 apps/worker/config/options.rb
spiderfw-0.6.2 apps/worker/config/options.rb
spiderfw-0.6.1 apps/worker/config/options.rb
spiderfw-0.6.0 apps/worker/config/options.rb
spiderfw-0.5.19 apps/worker/config/options.rb
spiderfw-0.5.18 apps/worker/config/options.rb
spiderfw-0.5.17 apps/worker/config/options.rb
spiderfw-0.5.16 apps/worker/config/options.rb
spiderfw-0.5.15 apps/worker/config/options.rb
spiderfw-0.5.14 apps/worker/config/options.rb
spiderfw-0.5.13 apps/worker/config/options.rb
spiderfw-0.5.12 apps/worker/config/options.rb
spiderfw-0.5.11 apps/worker/config/options.rb
spiderfw-0.5.10 apps/worker/config/options.rb