mirror of https://github.com/apache/druid.git
change default settings for retry
This commit is contained in:
parent
2b0ed30344
commit
6cdd6a6af7
|
@ -24,10 +24,18 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
public class RetryQueryRunnerConfig
|
public class RetryQueryRunnerConfig
|
||||||
{
|
{
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
private int numTries = 0;
|
private int numTries = 1;
|
||||||
|
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
private boolean returnPartialResults = false;
|
private boolean returnPartialResults = false;
|
||||||
|
|
||||||
public int numTries() { return numTries; }
|
public int numTries()
|
||||||
public boolean returnPartialResults() { return returnPartialResults; }
|
{
|
||||||
|
return numTries;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean returnPartialResults()
|
||||||
|
{
|
||||||
|
return returnPartialResults;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue