Browse Source

Added a finished message

master
Drew Short 10 years ago
parent
commit
e7dcc87e46
  1. 2
      engine/src/main/scala/com/sothr/imagetools/engine/ConcurrentEngine.scala

2
engine/src/main/scala/com/sothr/imagetools/engine/ConcurrentEngine.scala

@ -234,6 +234,7 @@ class ConcurrentEngineProcessingController extends Actor with ActorLogging {
*/ */
def checkForResults() = { def checkForResults() = {
try { try {
listener ! SubmitMessage(s"Finished Processing ${processed}/${processed} images")
processorsFinished = 0 processorsFinished = 0
toProcess = 0 toProcess = 0
processed = 0 processed = 0
@ -395,6 +396,7 @@ class ConcurrentEngineSimilarityController extends Actor with ActorLogging {
*/ */
def checkForResults() = { def checkForResults() = {
try { try {
listener ! SubmitMessage(s"Finished Scanning ${processed}/${processed} images")
processorsFinished = 0 processorsFinished = 0
toProcess = 0 toProcess = 0
processed = 0 processed = 0

Loading…
Cancel
Save