diff --git a/processing/src/main/java/io/druid/query/RetryQueryRunnerConfig.java b/processing/src/main/java/io/druid/query/RetryQueryRunnerConfig.java index 2b8bb730b68..3837389670e 100644 --- a/processing/src/main/java/io/druid/query/RetryQueryRunnerConfig.java +++ b/processing/src/main/java/io/druid/query/RetryQueryRunnerConfig.java @@ -24,10 +24,18 @@ import com.fasterxml.jackson.annotation.JsonProperty; public class RetryQueryRunnerConfig { @JsonProperty - private int numTries = 0; + private int numTries = 1; + @JsonProperty private boolean returnPartialResults = false; - public int numTries() { return numTries; } - public boolean returnPartialResults() { return returnPartialResults; } + public int numTries() + { + return numTries; + } + + public boolean returnPartialResults() + { + return returnPartialResults; + } }