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: garbage collection of merge-request refs when webhook mode #859

Conversation

xNok
Copy link
Contributor

@xNok xNok commented Jun 13, 2024

When using the webhook mode we noticed that a bunch of refs were never garage-collected and kept accumulating in the memory/redis.

The solution uses the Merge Request Hook to delete those refs when the MR is closed or merged

@mvisonneau mvisonneau self-assigned this Jun 13, 2024
@mvisonneau
Copy link
Owner

thanks for this fix @xNok!

@mvisonneau mvisonneau merged commit 0f7c8b3 into mvisonneau:main Jun 13, 2024
4 checks passed
@coveralls
Copy link

Coverage Status

coverage: 65.187% (-0.2%) from 65.401%
when pulling 966b9b4 on ESLFACEITGROUP:fix-garbage-collection-for-ref-when-webhook-mode
into d2c4e81 on mvisonneau:main.

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.

None yet

3 participants