Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Add task to destroy guest users after one week #338

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

CJStadler
Copy link

Issue #256.

This destroys users that were created more than one week ago. Is there a way to determine if a user has been inactive, so that we are not destroying active guest users? Is there any reason an active user would remain a guest?

I believe this will not destroy units associated with guest users. Is that the correct behavior?

I can write a spec for the task if necessary.

This does not add any method of scheduling the task. The issue mentioned sidekiq, but that seems like overkill just to run a single job per week. The best option probably depends mostly on how this is being hosted.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant