element-hq / element-hq/dendrite

appserviceIsInterestedInEvent should be cached

Open
#1,682 0 comments 0 reactions 0 assignees View on GitHub
C-App-Services T-Task X-Performance
Dominant language
Go
Stars
965
Forks
101
PR merge metrics
No merged PRs in 30d

Description

*This issue was originally created by [**@Half-Shot**](https://github.com/Half-Shot) at .*

As per #1680, we now check the state of the room for each event handled to check if the appservice is part of the room. This can get quite expensive if the server is handling a lot of events. Dendrite should cache this function so that we do not need to check each time.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.