This is an automated email from the ASF dual-hosted git repository.
sergeykamov pushed a commit to branch NLPCRAFT-41
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/NLPCRAFT-41 by this push:
new ac2cf7d WIP.
ac2cf7d is described below
commit ac2cf7dcc2ab880ccd0da4198978967e1bcdd06f
Author: Sergey Kamov <[email protected]>
AuthorDate: Mon Sep 14 18:33:12 2020 +0300
WIP.
---
nlpcraft/src/main/scala/org/apache/nlpcraft/probe/NCProbeBoot.scala | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/NCProbeBoot.scala
b/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/NCProbeBoot.scala
index ab4ff84..ab8d227 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/NCProbeBoot.scala
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/NCProbeBoot.scala
@@ -196,6 +196,8 @@ private [probe] object NCProbeBoot extends LazyLogging with
NCOpenCensusTrace {
started = true
+ fut.complete(0)
+
// Wait indefinitely.
while (started)
try
@@ -203,8 +205,6 @@ private [probe] object NCProbeBoot extends LazyLogging with
NCOpenCensusTrace {
catch {
case _: InterruptedException ⇒ ()
}
-
- fut.complete(0)
}
logger.trace("Probe thread stopped OK.")