You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by ar...@apache.org on 2020/09/12 09:43:38 UTC

[incubator-nlpcraft] branch NLPCRAFT-41 updated: Update NCConversationManager.scala

This is an automated email from the ASF dual-hosted git repository.

aradzinski 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 c6fa57e  Update NCConversationManager.scala
c6fa57e is described below

commit c6fa57e61a69a92f2ac146c086212a5738ede6ab
Author: Aaron Radzinski <ar...@datalingvo.com>
AuthorDate: Sat Sep 12 02:43:28 2020 -0700

    Update NCConversationManager.scala
---
 .../apache/nlpcraft/probe/mgrs/conversation/NCConversationManager.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/conversation/NCConversationManager.scala b/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/conversation/NCConversationManager.scala
index 2dab628..d0ee41b 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/conversation/NCConversationManager.scala
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/conversation/NCConversationManager.scala
@@ -37,7 +37,7 @@ object NCConversationManager extends NCService {
     private object Config extends NCConfigurable {
         private final val name = "nlpcraft.probe.convGcTimeoutMs"
 
-        def timeoutMs: Long = getInt("name")
+        def timeoutMs: Long = getInt(name)
 
         def check(): Unit =
             if (timeoutMs <= 0)