Skip to content

Commit 6284084

Browse files
committed
Reduce docker timeout to 10 minutes
1 parent fd9802b commit 6284084

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/codacy/dockerApi/DockerEngine.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ abstract class DockerEngine(Tool: Tool) {
2121

2222
lazy val timeout = Option(System.getProperty("timeout")).flatMap { case rawDuration =>
2323
Try(Duration(rawDuration)).toOption.collect { case d: FiniteDuration => d }
24-
}.getOrElse(30.minutes)
24+
}.getOrElse(10.minutes)
2525

2626
lazy val isDebug = Option(System.getProperty("debug")).flatMap { case rawDebug =>
2727
Try(rawDebug.toBoolean).toOption

0 commit comments

Comments
 (0)