Skip to content

Commit

Permalink
Upping error timeout time to 60s
Browse files Browse the repository at this point in the history
This gives enough time for the normal 30 error timeout and a super slow connection.
  • Loading branch information
mrinc authored Nov 12, 2024
1 parent 2e5b6b3 commit 3f69fa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripts/betterportal-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ document.addEventListener('DOMContentLoaded', () => {
if (form.classList.contains('bpe-wp-loader-container')) {
form.innerHTML = '<p style="text-align: center; padding: 20px 10px 20px 10px;">An error occured. Please try again later</p>';
}
},5000);
},60000);
});
});
});

0 comments on commit 3f69fa9

Please sign in to comment.