lib/endeca.rb in endeca-1.5.2 vs lib/endeca.rb in endeca-1.5.3
- old
+ new
@@ -11,11 +11,11 @@
module Endeca
extend Benchmarking
extend Logging
# :stopdoc:
- VERSION = '1.5.2'
+ VERSION = '1.5.3'
# :startdoc:
# Returns the version string for the library.
def self.version
VERSION
@@ -36,10 +36,12 @@
end
end
self.logger = Logger.new(STDOUT)
- self.timeout = 8
+
+ # Number of seconds until connection should time out.
+ self.timeout = 2
# Endeca URIs require colons to be escaped
def self.escape(str)
URI.escape(str, /[^-_.!~*'()a-zA-Z\d;\/?@&=+$,\[\]]/n)
end