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

avoid querying Activity table for recent logins #1905

Merged
merged 2 commits into from
Oct 7, 2023

Conversation

Jamiras
Copy link
Member

@Jamiras Jamiras commented Oct 7, 2023

should minimize login failures

[object] (Illuminate\\Database\\QueryException(code: HY000): SQLSTATE[HY000]: General error:
 3024 Query execution was interrupted, maximum statement execution time exceeded (SQL:
 SELECT * FROM Activity AS act
              WHERE act.ID =
                ( SELECT MAX(Activity.ID) FROM Activity WHERE Activity.user = :user AND Activity.activityType = 2 ) )
 at /home/forge/retroachievements.org/releases/2023-09-25T165924-4.1.0-97eec26c/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760

@Jamiras Jamiras changed the base branch from master to release October 7, 2023 16:27
@Jamiras Jamiras changed the base branch from release to master October 7, 2023 16:28
@Jamiras Jamiras merged commit da3dea2 into RetroAchievements:master Oct 7, 2023
5 checks passed
@Jamiras Jamiras deleted the cache_last_login branch October 7, 2023 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants