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
|
||||
{
|
||||
@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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue