Class: AppConfig

Inherits:
Object
  • Object
show all
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

Class Method Details

.connectorsObject



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_sizeObject



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_errorsObject



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_ratioObject



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_errorsObject



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

Returns:

  • (Boolean)


31
32
33
# File 'lib/stubs/app_config.rb', line 31

def content_source_sync_thumbnails_enabled?
  true
end