Skip to content

Commit

Permalink
Changed executor service in JobManager to support larger clusters
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Warneke committed Aug 7, 2012
1 parent 1fa6eae commit 807fbc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public class JobManager implements DeploymentManager, ExtendedManagementProtocol

private final int recommendedClientPollingInterval;

private final ExecutorService executorService = Executors.newSingleThreadExecutor();
private final ExecutorService executorService = Executors.newCachedThreadPool();

private final static int SLEEPINTERVAL = 1000;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public class TaskManager implements TaskOperationProtocol, PluginCommunicationPr

private final static int FAILURERETURNCODE = -1;

private final static int DEFAULTPERIODICTASKSINTERVAL = 1000;
private final static int DEFAULTPERIODICTASKSINTERVAL = 2000;

/**
* The instance of the {@link ByteBufferedChannelManager} which is responsible for
Expand Down

0 comments on commit 807fbc1

Please sign in to comment.