[openstreetmap/openstreetmap-website] Account deletion cool-down period (PR #4313)
Anton Khorev
notifications at github.com
Wed Nov 22 12:21:49 UTC 2023
@AntonKhorev commented on this pull request.
> @@ -53,6 +53,8 @@ api_timeout: 300
web_timeout: 30
# Periods (in hours) which are allowed for user blocks
user_block_periods: [0, 1, 3, 6, 12, 24, 48, 96, 168, 336, 731, 4383, 8766, 87660]
+# Account deletion cooldown period (in hours) since last changeset close; -24 to disable, 0 to make sure there aren't any open changesets when the deletion happens
+user_account_deletion_delay: -24
It's as nonsensical as a future close date.
It's possible to compare the current time with min(close time, current time), but then we throw away the check for open changesets.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4313#discussion_r1401965250
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4313/review/1744256248 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20231122/94ac7318/attachment.htm>
More information about the rails-dev
mailing list