Skip to content
Commit c13c7e67 authored by Stan Hu's avatar Stan Hu
Browse files

Fix member expiration not always working

The Sidekiq job `RemoveExpiredMembersWorker` was failing to run in
production because it was hitting statement timeouts because it was
scanning all rows in order. On staging, where it used to scan 4 million
rows, adding an index brought this down to only a few hundred rows.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/67286
parent 80e9f7f3
Loading
Loading
Loading