Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make advertisements expire after a certain time #41

Open
Camerooooon opened this issue Aug 11, 2022 · 6 comments
Open

Make advertisements expire after a certain time #41

Camerooooon opened this issue Aug 11, 2022 · 6 comments
Labels

Comments

@Camerooooon
Copy link
Member

No description provided.

@adamhutchings
Copy link
Contributor

Advertisements?

@Camerooooon
Copy link
Member Author

That's what I decided to call it.

@JakeRoggenbuck
Copy link
Member

Like advertise that I want to talk to user B, right?

@adamhutchings
Copy link
Contributor

I actually thought you were planning to make this monetized.

@Camerooooon
Copy link
Member Author

They are supposed to expire after a certain time but I forgot to add it.

@JakeRoggenbuck
Copy link
Member

I have two ideas for this.

  1. We have an API route called /clean which will be called by a cron job and will check if anything is out of date and remove it.
  2. Any route when called will check "last cleaned" and if it has passed a certain time, it will run a clean

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

No branches or pull requests

3 participants