[openstreetmap/openstreetmap-website] A new foundation for user notifications (PR #6837)

Tom Hughes notifications at github.com
Thu Mar 12 11:57:49 UTC 2026


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/c4046168309 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260312/c1579e06/attachment.htm>


More information about the rails-dev mailing list