Skip to content
Snippets Groups Projects
Commit 26e469ea authored by Alex Reimers's avatar Alex Reimers
Browse files

Merge pull request #57 from capveg/master

npe
parents f3491ee7 f4420e83
No related branches found
No related tags found
No related merge requests found
......@@ -327,12 +327,12 @@ IRoutingService, ILinkDiscoveryListener {
topologyAware = new ArrayList<ITopologyListener>();
ldUpdates = new LinkedBlockingQueue<LDUpdate>();
ScheduledExecutorService ses = threadPool.getScheduledExecutor();
newInstanceTask = new SingletonTask(ses, new NewInstanceWorker());
}
@Override
public void startUp(FloodlightModuleContext context) {
ScheduledExecutorService ses = threadPool.getScheduledExecutor();
newInstanceTask = new SingletonTask(ses, new NewInstanceWorker());
linkDiscovery.addListener(this);
newInstanceTask.reschedule(1, TimeUnit.MILLISECONDS);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment