Skip to content

Commit

Permalink
Revert "Add min value for timeout"
Browse files Browse the repository at this point in the history
This reverts commit 109616a.
  • Loading branch information
imRishN committed Jul 23, 2024
1 parent 341fe5f commit 30f03fe
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,13 @@ public class ShardsBatchGatewayAllocator implements ExistingShardsAllocator {
public static final Setting<TimeValue> PRIMARY_BATCH_ALLOCATOR_TIMEOUT_SETTING = Setting.timeSetting(
PRIMARY_BATCH_ALLOCATOR_TIMEOUT_SETTING_KEY,
TimeValue.MINUS_ONE,
TimeValue.timeValueSeconds(20),
Setting.Property.NodeScope,
Setting.Property.Dynamic
);

public static final Setting<TimeValue> REPLICA_BATCH_ALLOCATOR_TIMEOUT_SETTING = Setting.timeSetting(
REPLICA_BATCH_ALLOCATOR_TIMEOUT_SETTING_KEY,
TimeValue.MINUS_ONE,
TimeValue.timeValueSeconds(20),
Setting.Property.NodeScope,
Setting.Property.Dynamic
);
Expand Down

0 comments on commit 30f03fe

Please sign in to comment.