Skip to content

Commit

Permalink
0000673: Start symmetricds engine instance in background
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Jun 27, 2012
1 parent e9c828c commit 39b0e13
Showing 1 changed file with 6 additions and 10 deletions.
Expand Up @@ -107,18 +107,14 @@ public void start() {
}
}

for (EngineStarter starter : enginesStarting) {
starter.start();
}

} else {
ISymmetricEngine engine = create(singleServerPropertiesFile);
if (engine != null) {
engine.start();
} else {
log.error("The engine was not created. Could not start it");
}
enginesStarting.add(new EngineStarter(singleServerPropertiesFile));
}

for (EngineStarter starter : enginesStarting) {
starter.start();
}

}

protected ISymmetricEngine create(String propertiesFile) {
Expand Down

0 comments on commit 39b0e13

Please sign in to comment.