Publish a resumed message regardless of whether the JobProcessingTask is waiting for directory scan completion or not.

This commit is contained in:
esaunders 2018-07-09 16:27:49 -04:00
parent df912db421
commit 08aa6ab8a7

View File

@ -1840,13 +1840,13 @@ final class AutoIngestManager extends Observable implements PropertyChangeListen
*/ */
setChanged(); setChanged();
notifyObservers(Event.RESUMED); notifyObservers(Event.RESUMED);
}
/** /**
* Publish an event to let remote listeners know that the * Publish an event to let remote listeners know that the node
* node has been resumed. * has been resumed.
*/ */
eventPublisher.publishRemotely(lastPublishedStateEvent = new AutoIngestNodeStateEvent(Event.RESUMED, AutoIngestManager.LOCAL_HOST_NAME)); eventPublisher.publishRemotely(lastPublishedStateEvent = new AutoIngestNodeStateEvent(Event.RESUMED, AutoIngestManager.LOCAL_HOST_NAME));
}
pauseLock.notifyAll(); pauseLock.notifyAll();
} }
} }