Skip to content

Commit

Permalink
Address PR comments
Browse files Browse the repository at this point in the history
Signed-off-by: Gaurav Bafna <gbbafna@amazon.com>
  • Loading branch information
gbbafna committed Jun 18, 2024
1 parent bd30dac commit aebb7c6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,9 @@ default void deleteSnapshotsAndReleaseLockFiles(
/**
* Returns low priority upload throttle time in nanoseconds
*/
long getLowPriorityRemoteUploadThrottleTimeInNanos();
default long getLowPriorityRemoteUploadThrottleTimeInNanos() {
return 0;

Check warning on line 218 in server/src/main/java/org/opensearch/repositories/Repository.java

View check run for this annotation

Codecov / codecov/patch

server/src/main/java/org/opensearch/repositories/Repository.java#L218

Added line #L218 was not covered by tests
}

/**
* Returns restore throttle time in nanoseconds
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -699,11 +699,6 @@ public long getRemoteUploadThrottleTimeInNanos() {
return 0;
}

@Override
public long getLowPriorityRemoteUploadThrottleTimeInNanos() {
return 0;
}

@Override
public long getRemoteDownloadThrottleTimeInNanos() {
return 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,6 @@ public long getRemoteUploadThrottleTimeInNanos() {
return 0;
}

@Override
public long getLowPriorityRemoteUploadThrottleTimeInNanos() {
return 0;
}

@Override
public long getRemoteDownloadThrottleTimeInNanos() {
return 0;
Expand Down

0 comments on commit aebb7c6

Please sign in to comment.