tomhughes left a comment (openstreetmap/openstreetmap-website#6837)
We do already have a rake task for cleaning up oauth tokens that is run daily
in production (the `db:expire_tokens` task from `lib/tasks/cleanup.rake`) so we
should probably add something similar.
It use to be a script called `script/cleanup` but when I made it a rake task I
made the name more specific.
Possibly we could have a `db:expire_notifications` task and also a generic
`db:cleanup` one that depended on the individual tasks so that it would run
everything?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6837#issuecomment-4046168309
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/6837/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev