Skip to content

Commit

Permalink
feat(discourse): add sidekiq cleanup cronjob
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Müller <[email protected]>
  • Loading branch information
Flipez committed Mar 21, 2024
1 parent 374c185 commit 0a25332
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
7 changes: 6 additions & 1 deletion k8s/releases/discourse/discourse-stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
kind: HelmRepository
name: mozilla-helm-charts
namespace: flux-system
version: 3.0.6
version: 3.0.7
interval: 1m0s
releaseName: discourse-stage
targetNamespace: discourse-stage
Expand Down Expand Up @@ -140,3 +140,8 @@ spec:
- hosts:
- discourse.stage.mozit.cloud
secretName: cert-discourse-stage-mozit-cloud
cronjobs:
sidekiq-clear-dead-jobs:
suspend: false
schedule: "@weekly"
command: ["rails", "runner", "Sidekiq::DeadSet.new.clear"]
8 changes: 8 additions & 0 deletions terraform/shared/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0a25332

Please sign in to comment.