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