lib/mihari/schemas/analyzer.rb in mihari-5.4.9 vs lib/mihari/schemas/analyzer.rb in mihari-5.5.0

- old
+ new

@@ -1,13 +1,14 @@ # frozen_string_literal: true module Mihari module Schemas AnalyzerOptions = Dry::Schema.Params do - optional(:interval).value(:integer) + optional(:pagination_interval).value(:integer).default(Mihari.config.pagination_interval) optional(:pagination_limit).value(:integer).default(Mihari.config.pagination_limit) optional(:retry_times).value(:integer).default(Mihari.config.retry_times) optional(:retry_interval).value(:integer).default(Mihari.config.retry_interval) + optional(:retry_exponential_backoff).value(:bool).default(Mihari.config.retry_exponential_backoff) optional(:ignore_error).value(:bool).default(Mihari.config.ignore_error) optional(:timeout).value(:integer) end AnalyzerWithoutAPIKey = Dry::Schema.Params do