Commits

Boris FELD committed b6b62b5

Make ZeroMQAgentKernel event listener to agent repository event

  • Participants
  • Parent commits 308e0cc

Comments (0)

Files changed (1)

File src/zeromq/src/main/java/org/janusproject/kernel/network/zeromq/agent/ZeroMQKernelAgent.java

 			throw new IllegalStateException(e);
 		}
 		getGroupRepository().addRepositoryChangeListener(this);
+		getAgentRepository().addRepositoryChangeListener(this);
 		submitTaskWithFixedDelay(new GroupCleaner(),
 				EMPTY_GROUP_CLEANING_DELAY*60,
 				EMPTY_GROUP_CLEANING_DELAY*60,