Skip to content

Commit

Permalink
Rework
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubhangi-cs committed Nov 28, 2023
1 parent ff723f9 commit be025ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,13 +209,13 @@ public String getOrgId(OAuthInfo oAuthInfo) throws ConnectionException {

@Nullable
public Long getInitialRetryDuration() {
return initialRetryDuration == null ? SalesforceSourceConstants.DEFAULT_INITIAL_RETRY_DURATION :
return initialRetryDuration == null ? SalesforceSourceConstants.DEFAULT_INITIAL_RETRY_DURATION_SECONDS :
initialRetryDuration;
}

@Nullable
public Long getMaxRetryDuration() {
return maxRetryDuration == null ? SalesforceSourceConstants.DEFULT_MAX_RETRY_DURATION : maxRetryDuration;
return maxRetryDuration == null ? SalesforceSourceConstants.DEFULT_MAX_RETRY_DURATION_SECONDS : maxRetryDuration;
}

@Nullable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@ public class SalesforceSourceConstants {

public static final long MAX_RETRIES_ON_API_FAILURE = 10;

public static final long DEFAULT_INITIAL_RETRY_DURATION = 5L;
public static final long DEFAULT_INITIAL_RETRY_DURATION_SECONDS = 5L;

public static final long DEFULT_MAX_RETRY_DURATION = 80L;
public static final long DEFULT_MAX_RETRY_DURATION_SECONDS = 80L;

public static final int DEFAULT_MAX_RETRY_COUNT = 5;

Expand Down

0 comments on commit be025ff

Please sign in to comment.