Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Store last sync in memory #1471

Merged
merged 1 commit into from
Feb 11, 2022
Merged

Store last sync in memory #1471

merged 1 commit into from
Feb 11, 2022

Conversation

addisonbeck
Copy link
Contributor

Type of change

  • Bug fix
  • New feature development
  • Tech debt (refactoring, code cleanup, dependency upgrades, etc)
  • Build/deploy pipeline (DevOps)
  • Other

Objective

Follow up to #1470

Storing data in memory causes it to be lost on refresh. We were getting it back before by also saving lastSync to memory, forcing a sync on refresh, and doing that again fixes the issue.

Code changes

Store lastSync in memory for the web vault

Before you submit

  • I have checked for linting errors (npm run lint) (required)
  • This change requires a documentation update (notify the documentation team)
  • This change has particular deployment requirements (notify the DevOps team)

@addisonbeck addisonbeck requested a review from a team February 11, 2022 08:37
Copy link
Member

@Hinton Hinton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as before, looks good from a pure code perspective.

@addisonbeck addisonbeck merged commit 9df4eb4 into master Feb 11, 2022
@addisonbeck addisonbeck deleted the Bug/StoreLastSyncInMemory branch February 11, 2022 08:39
addisonbeck added a commit that referenced this pull request Feb 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants