Commit Graph

3 Commits

Author SHA1 Message Date
Thong Kuah d6b952ad3e
Add frozen_string_literal to spec/workers
Adds `# frozen_string_literal: true` to spec/workers ruby files
2019-04-01 13:35:22 -03:00
Douwe Maan d5094e7c0a
Improve PruneWebHookLogsWorker spec 2018-12-07 10:55:44 +01:00
Yorick Peterse 75316348c5
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
2018-07-02 12:48:57 +02:00