Skip to content

Commit

Permalink
set schedule task async
Browse files Browse the repository at this point in the history
  • Loading branch information
lizhimins committed Jul 28, 2023
1 parent 7a405a6 commit 9cfac1b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ private void initScheduleTask() {
TieredStoreExecutor.commonScheduledExecutor.scheduleWithFixedDelay(() ->
tieredFlatFileManager.deepCopyFlatFileToList().forEach(flatFile -> {
if (!flatFile.getCompositeFlatFileLock().isLocked()) {
dispatchFlatFile(flatFile);
dispatchFlatFileAsync(flatFile);
}
}), 30, 10, TimeUnit.SECONDS);
}
Expand Down

0 comments on commit 9cfac1b

Please sign in to comment.