Skip to content

Commit

Permalink
Merge pull request #2187 from thostetler/update-request-timeout
Browse files Browse the repository at this point in the history
Change requirejs resource timeout from 30s -> 7s
  • Loading branch information
shinyichen authored Jul 20, 2021
2 parents 78f5b2c + b63eac9 commit 12e6d01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/config/discovery.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require.config({
})(),

// this will be overridden in the compiled file
waitSeconds: 30,
waitSeconds: 7,

// Configuration we want to make available to modules of ths application
// see: http://requirejs.org/docs/api.html#config-moduleconfig
Expand Down
2 changes: 1 addition & 1 deletion src/config/shim.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
// sometimes requirejs isn't ready yet, this will wait for it
if (window.requirejs) {
window.requirejs.config({
waitSeconds: 30,
waitSeconds: 7,
urlArgs: version,
});

Expand Down

0 comments on commit 12e6d01

Please sign in to comment.