Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>

Co-authored-by: Lee Surprenant <lmsurpre@us.ibm.com>
  • Loading branch information
prb112 and lmsurpre authored Mar 30, 2021
1 parent 847687f commit b60692e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ public interface ConfigurationAdapter {
String getCoreIamEndpoint();

/**
* get the tx for the fast chunk read during an sexport
* get the number ms to read payloads from the persistence layer before stopping to checkpoint
*
* @return
*/
Expand Down Expand Up @@ -472,4 +472,4 @@ public interface ConfigurationAdapter {
* @return
*/
int getPresignedUrlExpiry();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ public int getImportInflyRateNumberOfFhirResources(String provider) {

@Override
public int getPresignedUrlExpiry() {
int pageSize = FHIRConfigHelper.getIntProperty("fhirServer/bulkdata/core/cos/presignedExpiry", 86400);
return Math.max(1, pageSize);
int expirySeconds = FHIRConfigHelper.getIntProperty("fhirServer/bulkdata/core/cos/presignedExpiry", 86400);
return Math.max(1, expirySeconds);
}
}
}

0 comments on commit b60692e

Please sign in to comment.