Skip to content

Commit

Permalink
#1760 Fix typo in config path
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Feb 4, 2021
1 parent 9d31e81 commit 6fdb064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thehive/app/org/thp/thehive/services/StreamSrv.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6fdb064

Please sign in to comment.