Skip to content

Commit

Permalink
Address PR comments
Browse files Browse the repository at this point in the history
Signed-off-by: Sachin Kale <[email protected]>
  • Loading branch information
Sachin Kale committed Aug 14, 2024
1 parent 8ae64b7 commit 4104939
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ public class RemoteStorePinnedTimestampService implements Closeable {
"cluster.remote_store.pinned_timestamps.scheduler_interval",
TimeValue.timeValueMinutes(3),
TimeValue.timeValueMinutes(1),
Setting.Property.NodeScope,
Setting.Property.Dynamic
Setting.Property.NodeScope
);

public RemoteStorePinnedTimestampService(
Expand All @@ -83,11 +82,6 @@ public RemoteStorePinnedTimestampService(
this.clusterService = clusterService;

pinnedTimestampsSchedulerInterval = CLUSTER_REMOTE_STORE_PINNED_TIMESTAMP_SCHEDULER_INTERVAL.get(settings);
clusterService.getClusterSettings()
.addSettingsUpdateConsumer(
CLUSTER_REMOTE_STORE_PINNED_TIMESTAMP_SCHEDULER_INTERVAL,
this::setPinnedTimestampsSchedulerInterval
);
}

/**
Expand Down

0 comments on commit 4104939

Please sign in to comment.