lib/spiderfw/config/options/spider.rb in spiderfw-0.5.5 vs lib/spiderfw/config/options/spider.rb in spiderfw-0.5.6
- old
+ new
@@ -19,9 +19,10 @@
:default => Proc.new{ Spider.config.get('runmode') == 'devel' ? true : false }
}
config_option 'webserver.port', _("Port to use for the http server"), :default => 8080
config_option 'webserver.force_threads', _("Force threading on non-threaded adapters"),
:default => Proc.new{ RUBY_VERSION_PARTS[1] == '8' ? true : false }
+ config_option 'webserver.timeout', _("Time allowed for each request (in seconds)"), :type=> Fixnum, :default => nil
# Client
config_option 'client.text_editor', _("The text editor installed on the client")
# Templates
config_option 'template.cache.disable', _("Refresh template cache every time"), { :default => false }