New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Store session in DB #808
Store session in DB #808
Conversation
@danog Can you review this PR? |
ora daniil sara obbligato a ficcare mysql |
There is not many options to chose. Only mysql and redis have async drivers in amp. And i don't like redis :) But its easy to write adapter for redis later. |
Docs PR: danog/MadelineProtoDocs#18 |
Are there plans to add support of postgres? amp supports it https://github.com/amphp/postgres |
I have no plans to add any other db. But it's not hard to add another provider in your pull request:
|
Refactor storage mechanism. Add ability to store properties in mysql. Reduce ram consumption.