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

Fix/query performance #89

Merged
merged 1 commit into from
Mar 28, 2023
Merged

Fix/query performance #89

merged 1 commit into from
Mar 28, 2023

Conversation

bitknox
Copy link
Collaborator

@bitknox bitknox commented Mar 28, 2023

Description

We were getting the following log messages:

2023/03/28 09:05:26 �[32m/app/controllers/followController.go:78 �[33mSLOW SQL >= 200ms

Query performance has been improved by tweating gorm settings and creating indicies in the following model.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

Query performance has been improved by tweating gorm settings and
creating indicies in the following model.
@bitknox bitknox added the enhancement New feature or request label Mar 28, 2023
@bitknox bitknox requested a review from Mansin-ITU March 28, 2023 09:10
@sonarcloud
Copy link

sonarcloud bot commented Mar 28, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Collaborator

@Mansin-ITU Mansin-ITU left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's hope it works!

@Mansin-ITU Mansin-ITU merged commit a5f8976 into main Mar 28, 2023
@Mansin-ITU Mansin-ITU deleted the fix/query-performance branch March 28, 2023 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants