Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pleroma pleroma
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 596
    • Issues 596
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 99
    • Merge requests 99
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Pleroma
  • pleromapleroma
  • Merge requests
  • !1011

ActivityPub Utils: Greatly speed up the follow / block activity fetching.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged lain requested to merge fix-slow-relationships into develop Apr 02, 2019
  • Overview 0
  • Commits 2
  • Pipelines 3
  • Changes 3

Notifications in MastoAPI were unusably slow for me. The reason was that the fetching of the latest follow did not use our indexes and was very slow, which got triggered now in our notifications because we added the relationship by default as a help for PleromaFE.

This MR brought the query times from ~4s to 0.2ms (!) on soykaf.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: fix-slow-relationships