Permalink
Browse files

switched faye timeout default back to 45 and removed net/https require

  • Loading branch information...
1 parent 125d04d commit a099c5de2b416547ed21df8c78980c9e18f3bfc0 @cctalbott committed Mar 28, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/private_pub.rb
View
@@ -1,6 +1,5 @@
require "digest/sha1"
require "net/http"
-require "net/https"
require "private_pub/faye_extension"
require "private_pub/engine" if defined? Rails
@@ -69,7 +68,7 @@ def signature_expired?(timestamp)
# Returns the Faye Rack application.
# Any options given are passed to the Faye::RackAdapter.
def faye_app(options = {})
- options = {:mount => "/faye", :timeout => 25, :extensions => [FayeExtension.new]}.merge(options)
+ options = {:mount => "/faye", :timeout => 45, :extensions => [FayeExtension.new]}.merge(options)
Faye::RackAdapter.new(options)
end
end

0 comments on commit a099c5d

Please sign in to comment.