Skip to content

Commit

Permalink
Also allow PrepWorkManager to queue tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
lorrin committed Jul 22, 2013
1 parent f0d6eb3 commit 472f13a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public void start() {
LOG.info("Starting {}.", PrepWorkerManager.class.getSimpleName());
this.executor = new ThreadPoolExecutor(0, maxConcurrentPrepWork,
60L, TimeUnit.SECONDS,
new SynchronousQueue<Runnable>());
new LinkedBlockingQueue<Runnable>());
tracker.addListener(this);
Map<String,Object> retryConfiguration = new HashMap<>(1);
retryConfiguration.put(RetryJob.PREP_WORKER_MANAGER, this);
Expand Down

0 comments on commit 472f13a

Please sign in to comment.