Skip to content

mongo storage to reduce PeerIdInvalid errors #442

Description

@rking32

Currently, all peer data are stored in the memory. Hence it is cleared in every restart. So better to save them in the database and fetch them when needed. With that, we can reduce PeerIdInvalid errors and increase user happiness :)

https://github.com/pyrogram/pyrogram/blob/master/pyrogram/storage/storage.py

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions