Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

frontend/bg: disable deleteOldSecurityEventLogsInPostgres by default#52571

Merged
bobheadxi merged 2 commits into
mainfrom
disable-delete-old-security-event-logs
May 30, 2023
Merged

frontend/bg: disable deleteOldSecurityEventLogsInPostgres by default#52571
bobheadxi merged 2 commits into
mainfrom
disable-delete-old-security-event-logs

Conversation

@bobheadxi

@bobheadxi bobheadxi commented May 30, 2023

Copy link
Copy Markdown
Member

As of https://github.com/sourcegraph/sourcegraph/pull/51686 we will no longer write audit logs to DB by default. I noticed this background prune job is causing high load on a customer instance, and I think this should be disabled by default now as well.

While here, I also removed the log15 usages from this file.

Test plan

n/a

@bobheadxi bobheadxi requested review from a team and daxmc99 May 30, 2023 03:31
@cla-bot cla-bot Bot added the cla-signed label May 30, 2023
@bobheadxi bobheadxi force-pushed the disable-delete-old-security-event-logs branch from cc3a667 to d5d2d49 Compare May 30, 2023 03:32
@bobheadxi bobheadxi enabled auto-merge (squash) May 30, 2023 23:17
@bobheadxi bobheadxi force-pushed the disable-delete-old-security-event-logs branch from 2ffb029 to 1996919 Compare May 30, 2023 23:50
@bobheadxi bobheadxi merged commit 43d71c5 into main May 30, 2023
@bobheadxi bobheadxi deleted the disable-delete-old-security-event-logs branch May 30, 2023 23:56
ErikaRS pushed a commit that referenced this pull request Jun 22, 2023
…52571)

As of https://github.com/sourcegraph/sourcegraph/pull/51686 we will no
longer write audit logs to DB by default. I noticed this background
prune job is causing high load on a customer instance, and I think this
should be disabled by default now as well.

While here, I also removed the log15 usages from this file.

## Test plan

n/a
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants