diff options
author | Kegan Dougal <kegan@matrix.org> | 2016-11-22 16:38:35 +0000 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2016-11-22 16:38:35 +0000 |
commit | 83bcdcee616806ad4b39582b1015a37679b82b9a (patch) | |
tree | 1073d57fd509a730bf3bee82a90eeef873a65b51 /synapse/static | |
parent | Merge pull request #1638 from matrix-org/kegan/sync-event-fields (diff) | |
download | synapse-83bcdcee616806ad4b39582b1015a37679b82b9a.tar.xz |
Return early on /sync code paths if a '*' filter is used
This is currently very conservative in that it only does this if there is no `since` token. This limits the risk to clients likely to be doing one-off syncs (like bridges), but does mean that normal human clients won't benefit from the time savings here. If the savings are large enough, I would consider generalising this to just check the filter.
Diffstat (limited to 'synapse/static')
0 files changed, 0 insertions, 0 deletions