Skip to content

Commit

Permalink
TheHive-Project#175 Fix job.runners settings
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Apr 3, 2019
1 parent e00bc2f commit 37e5a96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/org/thp/cortex/services/JobRunnerSrv.scala
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class JobRunnerSrv @Inject() (
lazy val responderExecutionContext: ExecutionContext = akkaSystem.dispatchers.lookup("responder")

private val runners: Seq[String] = config
.getOptional[Seq[String]]("runners")
.getOptional[Seq[String]]("job.runners")
.getOrElse(Seq("docker", "process"))
.map(_.toLowerCase)
.collect {
Expand Down
2 changes: 1 addition & 1 deletion conf/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ cache {

job {
timeout = 30 minutes
runner = [docker, process]
runners = [docker, process]
}

# HTTP filters
Expand Down

0 comments on commit 37e5a96

Please sign in to comment.