Skip to content

Commit

Permalink
added new config values
Browse files Browse the repository at this point in the history
  • Loading branch information
jagankumar-egov committed Dec 6, 2024
1 parent 2c17ff5 commit f21ef2d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion health-services/project-factory/src/server/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,9 @@ const config = {
matchFacilityData: false,
retryCount: process.env.CREATE_RESOURCE_RETRY_COUNT || "3",
notCreateUserIfAlreadyThere: process.env.NOT_CREATE_USER_IF_ALREADY_THERE || false,
maxHttpRetries: process.env.MAX_HTTP_RETRIES || "4"
maxHttpRetries: process.env.MAX_HTTP_RETRIES || "4",
skipResourceCheckValidationBeforeCreateForLocalTesting:false, // can be set to true for local development
autoRetryIfHttpError: process.env.AUTO_RETRY_IF_HTTP_ERROR || "socket hang up" // can be retry if there is any error for which default retry can be set
}
};
// Exporting getErrorCodes function and config object
Expand Down

0 comments on commit f21ef2d

Please sign in to comment.