Skip to content

Fix UserManager caching race conditions #2

Description

@aromaa

At the moment how the caching works on UserManager is flawed due to not taking account that async methods could load older versions of the user and caching them due to possible delays or when the data was updated the same time and the other tasks updated the cache faster and dismissing the new data.

This is not major issue due to how player data loading works on login, they are requested from the database itself and all updates like add exp are handled inside the database and being returned by it and updated to the player data

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions