Added null cehck to IngestScheduler.FileIngestScheduler

This commit is contained in:
Richard Cordovano 2014-04-21 10:00:01 -04:00
parent bd6f90c895
commit 8ce3af30e2

View File

@ -224,8 +224,10 @@ final class IngestScheduler {
synchronized FileIngestTask getNextTask() {
final FileIngestTask task = fileTasks.pollLast();
if (task != null) {
filesDequeued++;
updateQueues();
}
return task;
}