Skip to content
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

Persistence #4

Open
gabrc52 opened this issue Apr 22, 2023 · 1 comment
Open

Persistence #4

gabrc52 opened this issue Apr 22, 2023 · 1 comment

Comments

@gabrc52
Copy link
Collaborator

gabrc52 commented Apr 22, 2023

Don't make API calls every time you want to query something.

Cache things. Especially stuff from hesiod.

Also concerned about this:

    # Join user to room (if needed)
    # TODO: check if in room, then join only if not
    matrix.join_room(room_alias, matrix_user_id)

Hope this doesn't send too many state events.

@gabrc52
Copy link
Collaborator Author

gabrc52 commented Aug 14, 2023

Mautrix has a store that does all of this automatically but from what I've seen Synapse does not add unnecessary state events

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant