Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slow login with long running query and timeouts #1013

Open
miaulalala opened this issue Dec 18, 2024 · 0 comments
Open

Slow login with long running query and timeouts #1013

miaulalala opened this issue Dec 18, 2024 · 0 comments
Labels
0. Needs triage bug Something isn't working

Comments

@miaulalala
Copy link

miaulalala commented Dec 18, 2024

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

The long running query is
SELECT user_id, display_name FROM oc_user_oidc u LEFT JOIN oc_preferences p ON (userid = user_id) AND (appid = 'settings') AND (configkey = 'email') WHERE (user_id LIKE '%userid%') OR (display_name LIKE '%userid%') OR (configvalue LIKE '%userid%') ORDER BY LOWER(user_id) ASC 59

Either in \OCA\UserOIDC\Db\UserMapper::findDisplayNames

or \OCA\UserOIDC\Db\UserMapper::find

Server configuration

Web server: Nginx

Database: MySQL

PHP version: 8.1/8.2/8.3

Nextcloud version: 29.0.10

@miaulalala miaulalala added 0. Needs triage bug Something isn't working labels Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant