Skip to content

Commit

Permalink
Fix the default maxRetries=-1 (apache#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Royer committed Feb 3, 2022
1 parent 7049499 commit ad512d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public class ElasticSearchConfig implements Serializable {
defaultValue = "-1",
help = "The maximum number of retries for elasticsearch requests. Use -1 to disable it."
)
private int maxRetries = 1;
private int maxRetries = -1;

@FieldDoc(
required = false,
Expand Down

0 comments on commit ad512d6

Please sign in to comment.