[openstreetmap/openstreetmap-website] Move notification code out of note update transactions (PR #5177)
mmd
notifications at github.com
Mon Sep 9 16:24:08 UTC 2024
Based on what you wrote earlier on ("it was scheduled to be sent"), I assumed that notifications are first written to the database, then picked up by another job later on which is doing the real work. This should only happen after the transaction was committed to the database. I haven't checked how the scheduling part is implemented exactly. If writing comments and scheduling notifications are not part of the same transaction today, then this argument does not hold anymore.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5177#issuecomment-2338552780
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5177/c2338552780 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240909/15824897/attachment.htm>
More information about the rails-dev
mailing list