mirror of
https://github.com/discourse/discourse.git
synced 2025-05-26 07:12:17 +08:00
FIX: cache_critical_dns was erroring without IPAddr
* sometimes cache_critical_dns would error out since "IPAddr" was undefined * sometimes it autoloaded, so no error
This commit is contained in:
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
require 'ipaddr'
|
||||||
require 'resolv'
|
require 'resolv'
|
||||||
require 'time'
|
require 'time'
|
||||||
require 'socket'
|
require 'socket'
|
||||||
|
Reference in New Issue
Block a user