From 6fdb0644ce3f7e8f10c899a23875c481ac835789 Mon Sep 17 00:00:00 2001 From: To-om Date: Thu, 4 Feb 2021 16:04:47 +0100 Subject: [PATCH] #1760 Fix typo in config path --- thehive/app/org/thp/thehive/services/StreamSrv.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thehive/app/org/thp/thehive/services/StreamSrv.scala b/thehive/app/org/thp/thehive/services/StreamSrv.scala index 230041f4c2..225e9c29fb 100644 --- a/thehive/app/org/thp/thehive/services/StreamSrv.scala +++ b/thehive/app/org/thp/thehive/services/StreamSrv.scala @@ -174,7 +174,7 @@ class StreamSrv @Inject() ( def maxBackoff: FiniteDuration = maxBackoffConfig.get val randomFactorConfig: ConfigItem[Double, Double] = - appConfig.item[Double]("stream.get.maxBackoff", "Random factor for stream attempts backoff") + appConfig.item[Double]("stream.get.randomFactor", "Random factor for stream attempts backoff") def randomFactor: Double = randomFactorConfig.get def generateStreamId(): String = Seq.fill(streamLength)(alphanumeric(Random.nextInt(alphanumeric.size))).mkString