Class: AppConfig
- Inherits:
-
Object
- Object
- AppConfig
- Defined in:
- lib/stubs/app_config.rb
Class Method Summary collapse
- .connectors ⇒ Object
- .connectors_logger ⇒ 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
15 16 17 18 19 |
# File 'lib/stubs/app_config.rb', line 15 def connectors { 'transient_server_error_retry_delay_minutes' => 5 } end |
.connectors_logger ⇒ Object
11 12 13 |
# File 'lib/stubs/app_config.rb', line 11 def connectors_logger Logger.new(STDOUT) end |
.content_source_sync_error_ratio_window_size ⇒ Object
33 34 35 |
# File 'lib/stubs/app_config.rb', line 33 def content_source_sync_error_ratio_window_size 100 end |
.content_source_sync_max_consecutive_errors ⇒ Object
25 26 27 |
# File 'lib/stubs/app_config.rb', line 25 def content_source_sync_max_consecutive_errors 10 end |
.content_source_sync_max_error_ratio ⇒ Object
29 30 31 |
# File 'lib/stubs/app_config.rb', line 29 def content_source_sync_max_error_ratio 0.15 end |
.content_source_sync_max_errors ⇒ Object
21 22 23 |
# File 'lib/stubs/app_config.rb', line 21 def content_source_sync_max_errors 1000 end |
.content_source_sync_thumbnails_enabled? ⇒ Boolean
37 38 39 |
# File 'lib/stubs/app_config.rb', line 37 def content_source_sync_thumbnails_enabled? true end |