Skip to content

Commit

Permalink
feature/59309 change default sas timeout for pupil submission tokens (#…
Browse files Browse the repository at this point in the history
…2533)

* change default sas timeout for pupil submission tokens

* increase retry count for check submission

* add exponential retry config to polly for check submission

* remove debug output

---------

Co-authored-by: Jon Shipley <[email protected]>
  • Loading branch information
GuyHarwood and jon-shipley authored Jun 12, 2023
1 parent 79ad06a commit abdcc59
Show file tree
Hide file tree
Showing 4 changed files with 270 additions and 230 deletions.
2 changes: 1 addition & 1 deletion admin/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ module.exports = {
Tokens: {
// 12 hours default expiry
jwtTimeOutHours: process.env.JWT_TIMEOUT_HOURS || 12,
sasTimeOutHours: process.env.SAS_TIMEOUT_HOURS || 25
sasTimeOutHours: process.env.SAS_TIMEOUT_HOURS || 120
},
Monitoring: {
ApplicationInsights: {
Expand Down
2 changes: 1 addition & 1 deletion pupil-spa/gen_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ authUrl=${AUTH_URL:-"http://localhost:3003/auth"}
checkStartAPIErrorDelay=${CHECK_START_ERROR_DELAY:-"2000"}
checkStartAPIErrorMaxAttempts=${CHECK_START_MAX_ATTEMPTS:-"3"}
checkSubmissionAPIErrorDelay=${CHECK_SUBMISSION_ERROR_DELAY:-"30000"}
checkSubmissionAPIErrorMaxAttempts=${CHECK_SUBMISSION_MAX_ATTEMPTS:-"3"}
checkSubmissionAPIErrorMaxAttempts=${CHECK_SUBMISSION_MAX_ATTEMPTS:-"10"}
connectivityCheckEnabled=${CONNECTIVITY_CHECK_ENABLED:-"false"}
connectivityCheckViewMinDisplay=${CONNECTIVITY_CHECK_MIN_DISPLAY:-"6000"}
feedbackAPIErrorDelay=${CHECK_SUBMISSION_ERROR_DELAY:-"3000"}
Expand Down
Loading

0 comments on commit abdcc59

Please sign in to comment.