Skip to content

Commit

Permalink
Merge pull request #27 from Aar-if/newaltv1
Browse files Browse the repository at this point in the history
Refresh token time update
  • Loading branch information
snehal0904 authored Oct 10, 2023
2 parents 7e2b6ff + 3c37dc9 commit db82e51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/admin/src/components/StudentCSV.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ function CSVImportForm() {
const endIndex = startIndex + remainingRecords;
await sendBatch(startIndex, endIndex);
}
localStorage.setItem("successCount", totalSuccessCount);

downloadCSVFromLocalStorage();
};

Expand Down
2 changes: 1 addition & 1 deletion packages/student-app/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function App() {
const refreshToken = localStorage.getItem("refreshToken");
console.log(refreshToken);
if (refreshToken) {
const interval = 29 * 60 * 1000; // 30 minutes
const interval = 5 * 60 * 1000; // 5 minutes
// const interval = 2 * 1000; // 2 seconds

const tokenCheckInterval = setInterval(async () => {
Expand Down

0 comments on commit db82e51

Please sign in to comment.