-
- Downloads
Prune web hook logs older than 90 days
This adds a recurring Sidekiq job that removes up to 50 000 old web hook logs per hour, if they are older than 90 days. This will prevent the web_hook_logs table from growing indefinitely. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/46120
parent
f25cdea6
No related branches found
No related tags found
Showing
- app/workers/all_queues.yml 1 addition, 0 deletionsapp/workers/all_queues.yml
- app/workers/prune_web_hook_logs_worker.rb 26 additions, 0 deletionsapp/workers/prune_web_hook_logs_worker.rb
- changelogs/unreleased/prune-web-hook-logs.yml 5 additions, 0 deletionschangelogs/unreleased/prune-web-hook-logs.yml
- config/initializers/1_settings.rb 4 additions, 0 deletionsconfig/initializers/1_settings.rb
- doc/user/project/integrations/webhooks.md 10 additions, 6 deletionsdoc/user/project/integrations/webhooks.md
- spec/workers/prune_web_hook_logs_worker_spec.rb 22 additions, 0 deletionsspec/workers/prune_web_hook_logs_worker_spec.rb
app/workers/prune_web_hook_logs_worker.rb
0 → 100644
Please register or sign in to comment