Skip to content
Snippets Groups Projects

OAuthPlug: use user cache instead of joining

Merged Hélène requested to merge helene/pleroma:fix/oauth-token-user-caching into develop
  1. Aug 24, 2022
    • Hélène's avatar
      OAuthPlug: use user cache instead of joining · 439c1baf
      Hélène authored
      As this plug is called on every request, this should reduce load on the
      database by not requiring to select on the users table every single
      time, and to instead use the by-ID user cache whenever possible.
      Verified
      439c1baf
Loading