mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 23:24:48 +02:00
changed value type for validation timeout
This commit is contained in:
parent
c4ce8027d9
commit
e83719d5b7
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ module Actions
|
|||
dns_servers = ENV['dnssec_resolver_ips'].to_s.split(',').map(&:strip)
|
||||
|
||||
Resolv::DNS.open({ nameserver: dns_servers }) do |dns|
|
||||
dns.timeouts = ENV['a_and_aaaa_validation_timeout'] || 1
|
||||
dns.timeouts = ENV['a_and_aaaa_validation_timeout'].to_i || 1
|
||||
ress = nil
|
||||
|
||||
case value
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue