Class: AppConfig
- Inherits:
-
Object
- Object
- AppConfig
- Defined in:
- lib/stubs/app_config.rb
Overview
Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one or more contributor license agreements. Licensed under the Elastic License; you may not use this file except in compliance with the Elastic License.
Class Method Summary collapse
- .connectors ⇒ Object
- .content_source_sync_error_ratio_window_size ⇒ Object
- .content_source_sync_max_consecutive_errors ⇒ Object
- .content_source_sync_max_error_ratio ⇒ Object
- .content_source_sync_max_errors ⇒ Object
- .content_source_sync_thumbnails_enabled? ⇒ Boolean
Class Method Details
.connectors ⇒ Object
9 10 11 12 13 |
# File 'lib/stubs/app_config.rb', line 9 def connectors { 'transient_server_error_retry_delay_minutes' => 5 } end |
.content_source_sync_error_ratio_window_size ⇒ Object
27 28 29 |
# File 'lib/stubs/app_config.rb', line 27 def content_source_sync_error_ratio_window_size 100 end |
.content_source_sync_max_consecutive_errors ⇒ Object
19 20 21 |
# File 'lib/stubs/app_config.rb', line 19 def content_source_sync_max_consecutive_errors 10 end |
.content_source_sync_max_error_ratio ⇒ Object
23 24 25 |
# File 'lib/stubs/app_config.rb', line 23 def content_source_sync_max_error_ratio 0.15 end |
.content_source_sync_max_errors ⇒ Object
15 16 17 |
# File 'lib/stubs/app_config.rb', line 15 def content_source_sync_max_errors 1000 end |
.content_source_sync_thumbnails_enabled? ⇒ Boolean
31 32 33 |
# File 'lib/stubs/app_config.rb', line 31 def content_source_sync_thumbnails_enabled? true end |