Skip to content

Commit

Permalink
IDEX-3744: disable docker machine state change detection
Browse files Browse the repository at this point in the history
Comment usage of container state change because it has bug.
Exec's OOM is treated as OOM of container.
  • Loading branch information
Alexander Garagatyi committed Dec 4, 2015
1 parent 4cd458e commit a7f8454
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@ private String generateRepository() {

@Override
public void destroy() throws MachineException {
dockerInstanceStopDetector.stopDetection(container);
// Fixme
//dockerInstanceStopDetector.stopDetection(container);
try {
if (isDev()) {
node.unbindWorkspace();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,8 @@ private Instance createInstance(String containerName,
node.bindWorkspace();
}

dockerInstanceStopDetector.startDetection(containerId, machineState.getId());
// Fixme
//dockerInstanceStopDetector.startDetection(containerId, machineState.getId());

return dockerMachineFactory.createInstance(machineState,
containerId,
Expand Down

0 comments on commit a7f8454

Please sign in to comment.