Skip to content

Commit

Permalink
code clean
Browse files Browse the repository at this point in the history
  • Loading branch information
Mingfei committed Sep 23, 2015
1 parent 869562d commit a8b8eea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion servers/src/main/java/tachyon/worker/block/BlockWorker.java
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ public BlockWorker() throws IOException {
// Setup session cleaner
mSessionCleanerThread = new SessionCleaner(mBlockDataManager);

// Set up asynchronous evictor
// Setup asynchronous evictor
if (mTachyonConf.getBoolean(Constants.WORKER_EVICT_ASYNC_ENABLE)) {
mAsyncEvictor = new AsyncEvictor(mBlockDataManager, mTachyonConf);
}
Expand Down Expand Up @@ -270,6 +270,7 @@ public void process() {
// Start the session cleanup checker to perform the periodical checking
mSyncExecutorService.submit(mSessionCleanerThread);

// Start the asynchronous evictor
if (mAsyncEvictor != null) {
mSyncExecutorService.submit(mAsyncEvictor);
}
Expand Down

0 comments on commit a8b8eea

Please sign in to comment.