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: update webhook cleaner sql #249

Merged
merged 6 commits into from
Aug 26, 2024
Merged

fix: update webhook cleaner sql #249

merged 6 commits into from
Aug 26, 2024

Conversation

DrowYue
Copy link
Contributor

@DrowYue DrowYue commented Aug 26, 2024

Description of your changes

In the webhook log cleaner, the task is time consuming due to ListWebhookLogs needing to query count(*) with log details. This SQL statement is optimized to improve the query efficiency.

Fixes #

I have:

  • Read and followed Horizon's contribution process.
  • Run make build && make lint to ensure this PR is ready for review.

How has this code been tested

Special notes for your reviewer

Copy link

codeclimate bot commented Aug 26, 2024

Code Climate has analyzed commit 75ad7fb and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (60% is the threshold).

This pull request will bring the total coverage in the repository to 66.6%.

View more on Code Climate.

@xuzhu-591 xuzhu-591 requested a review from iamyeka August 26, 2024 11:34
@xuzhu-591 xuzhu-591 self-requested a review August 26, 2024 11:55
Copy link
Collaborator

@xuzhu-591 xuzhu-591 left a comment

Choose a reason for hiding this comment

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

LGTM

@xuzhu-591 xuzhu-591 merged commit 6cdb919 into horizoncd:main Aug 26, 2024
6 checks passed
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.

3 participants