lib/sinatra-cometio/options.rb in sinatra-cometio-0.1.6 vs lib/sinatra-cometio/options.rb in sinatra-cometio-0.1.7
- old
+ new
@@ -1,9 +1,9 @@
class CometIO
def self.default_options
{
- :xhr_interval => [15, lambda{|v| v.kind_of? Fixnum and v >= 10 }]
+ :timeout => [120, lambda{|v| v.kind_of? Fixnum and v >= 20 }]
}
end
def self.options
@@options ||= (