This is a performance-related improvement to #13, which queried and hid active *and* already inactive users, one-by-one. This PR updates the code to query only **active**, expired users, all at once, and then mark them as inactive, all at once.
1 line
71 B
Plaintext
1 line
71 B
Plaintext
Improve performance of `mark_expired_users_as_inactive` background job. |