Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Statistics-based Room Directory Queries #5947

Closed
wants to merge 8 commits into from

Commits on Aug 30, 2019

  1. Use room_stats and room_state for room directory search

    Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
    reivilibre committed Aug 30, 2019
    Configuration menu
    Copy the full SHA
    d5cc8b3 View commit details
    Browse the repository at this point in the history
  2. Don't populate empty/null fields in publicRooms.

    Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
    reivilibre committed Aug 30, 2019
    Configuration menu
    Copy the full SHA
    295b1de View commit details
    Browse the repository at this point in the history
  3. Select m.room.create event ID as a JOIN.

    ### Performance comparison
    
    * Before
        * cold: 25 seconds
        * warm: 16 seconds
    * After
        * cold: 13 seconds
        * warm: 11 seconds
    
    Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
    reivilibre committed Aug 30, 2019
    Configuration menu
    Copy the full SHA
    30d7bc2 View commit details
    Browse the repository at this point in the history
  4. Give a proper error for invalid pagination tokens.

    Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
    reivilibre committed Aug 30, 2019
    Configuration menu
    Copy the full SHA
    b396297 View commit details
    Browse the repository at this point in the history
  5. Use async/await syntax.

    Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
    reivilibre committed Aug 30, 2019
    Configuration menu
    Copy the full SHA
    28c7421 View commit details
    Browse the repository at this point in the history
  6. Adapt for new separated statistics.

    Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
    reivilibre committed Aug 30, 2019
    Configuration menu
    Copy the full SHA
    a04f01e View commit details
    Browse the repository at this point in the history
  7. Newsfile

    Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
    reivilibre committed Aug 30, 2019
    Configuration menu
    Copy the full SHA
    304bc2f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9df5c46 View commit details
    Browse the repository at this point in the history