lib/mihari/schemas/analyzer.rb in mihari-5.2.4 vs lib/mihari/schemas/analyzer.rb in mihari-5.3.0
- old
+ new
@@ -2,9 +2,11 @@
module Mihari
module Schemas
AnalyzerOptions = Dry::Schema.Params do
optional(:interval).value(:integer)
+ optional(:retry_times).value(:integer).default(DEFAULT_RETRY_TIMES)
+ optional(:retry_interval).value(:integer).default(DEFAULT_RETRY_INTERVAL)
end
AnalyzerWithoutAPIKey = Dry::Schema.Params do
required(:analyzer).value(Types::String.enum("dnstwister"))
required(:query).value(:string)