Skip to content

CacheManager: does not wait for data to be persisted. Potential consistency issue #492

@gemunet

Description

@gemunet

🐛 Bug Report

due to data consistency issues with JsonCacheInfoRepository, reported in #491, i started checking if i could use 'CacheObjectProvider', it looks fine, but the same issue can occur because cachemanager doesn't wait for data to be persisted because it is missing an "await" on line 232. is this intentional? why?

Image

Expected behavior

Reproduction steps

Configuration

Version: 1.x

Platform:

  • 📱 iOS
  • 🤖 Android

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions