Removed backend loading debuggin info; added TODO item about unnecessary loading.
This commit is contained in:
parent
bafb1c6e25
commit
f31b64e70e
2
TODO
2
TODO
|
@ -8,6 +8,8 @@
|
||||||
* Support for multiple domains.
|
* Support for multiple domains.
|
||||||
* Updates to the same address should be discarded (no SOA serial
|
* Updates to the same address should be discarded (no SOA serial
|
||||||
incrementing, etc.).
|
incrementing, etc.).
|
||||||
|
* Make sure the Ildus server only requires the backends once, not per
|
||||||
|
connection.
|
||||||
|
|
||||||
== Known Issues
|
== Known Issues
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,6 @@ module Ildus
|
||||||
name = name.to_s
|
name = name.to_s
|
||||||
path = File.dirname(__FILE__)
|
path = File.dirname(__FILE__)
|
||||||
file = File.join(path, "#{type}_backends", name + ".rb")
|
file = File.join(path, "#{type}_backends", name + ".rb")
|
||||||
puts "Requiring #{file} for #{type} backend: #{name}... "
|
|
||||||
require file
|
require file
|
||||||
|
|
||||||
return mod.const_get(name.capitalize)
|
return mod.const_get(name.capitalize)
|
||||||
|
|
Reference in New Issue