Class: Couchbase::ConfigProfiles::DevelopmentProfile

Inherits:
Profile
  • Object
show all
Defined in:
lib/couchbase/config_profiles.rb

Instance Method Summary collapse

Instance Method Details

#apply(options) ⇒ Object



43
44
45
46
47
48
49
50
51
52
# File 'lib/couchbase/config_profiles.rb', line 43

def apply(options)
  options.key_value_timeout = 20_000
  # TODO: Add `options.key_value_durable_timeout = 20_000` when key_value_durable_timeout is added to Options::Cluster
  options.connect_timeout = 20_000
  options.view_timeout = 120_000
  options.query_timeout = 120_000
  options.analytics_timeout = 120_000
  options.search_timeout = 120_000
  options.management_timeout = 120_000
end