lib/nfagent/server.rb in nfagent-0.9.19 vs lib/nfagent/server.rb in nfagent-0.9.20
- old
+ new
@@ -1,8 +1,10 @@
module NFAgent
class Server
def run
Log.info("Starting up")
+ NFAgent::Plugin.load_plugins
+
chunk_handler = ChunkHandler.new
poller = Poller.new
EM.run {
EM.start_server "0.0.0.0", 10000, Event, chunk_handler, poller