mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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