diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2013-07-15 15:04:06 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2013-07-15 15:04:06 +0200 |
commit | 2e45907d4434e7369289c9cde3cbabea311bbde0 (patch) | |
tree | 8e8bdd3484b8b1dd693672a26ddc30c7b9bab72b | |
parent | 31ebbfb9cef7a3259f99593d0be53474841cb42b (diff) | |
download | sonarqube-2e45907d4434e7369289c9cde3cbabea311bbde0.tar.gz sonarqube-2e45907d4434e7369289c9cde3cbabea311bbde0.zip |
SONAR-4488 Make sonar.dryRun.readTimeout property take seconds as input
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/bootstrap/DryRunDatabase.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/DryRunDatabase.java b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/DryRunDatabase.java index 9be2c5301a2..4eca672f807 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/DryRunDatabase.java +++ b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/DryRunDatabase.java @@ -99,7 +99,7 @@ public class DryRunDatabase implements BatchComponent { if (rootCause instanceof SocketTimeoutException) { // Pico will unwrap the first runtime exception throw new SonarException(new SonarException(String.format("DryRun database read timed out after %s ms. You can try to increase read timeout with property -D" - + CoreProperties.DRY_RUN_READ_TIMEOUT_SEC + "(in seconds)", + + CoreProperties.DRY_RUN_READ_TIMEOUT_SEC + " (in seconds)", readTimeout), e)); } if (projectKey != null && (rootCause instanceof HttpException) && (((HttpException) rootCause).getResponseCode() == 401)) { |