Skip to content

Commit

Permalink
make the data update cadence to 24 hours for side nav
Browse files Browse the repository at this point in the history
  • Loading branch information
nahbee10 committed Dec 11, 2024
1 parent 4a87491 commit efea472
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Copenhagen",
"author": "Sanctuary Computer",
"version": "4.2.21",
"version": "4.2.22",
"api_version": 4,
"default_locale": "en-us",
"settings": [
Expand Down
5 changes: 1 addition & 4 deletions src/modules/side-nav/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,7 @@ export const sideNav = {
const millisecondsIn24Hours = 24 * 60 * 60 * 1000;

SideNavDataManager.set({
// Set it like this for now since the client wants to QA the side nav with different items
expiresAt: Date.now() + 5000,
// TODO: uncomment the line below before launch
// expriresAt: Date.now() + millisecondsIn24Hours,
expiresAt: Date.now() + millisecondsIn24Hours,
data: sanitizedResponse,
});

Expand Down

0 comments on commit efea472

Please sign in to comment.