summaryrefslogtreecommitdiff
path: root/loader/lib/exception.py
diff options
context:
space:
mode:
authorMagnus Hagander2025-06-16 09:25:19 +0000
committerMagnus Hagander2025-06-16 09:27:49 +0000
commit6d22fcb21a6f0bafc206123d23af501697fe6114 (patch)
treee609b99a3d81cac19b531f9706b9623151c49d82 /loader/lib/exception.py
parent2a74077d8edad5d45fb56fcb14456967d678232b (diff)
Round of since/ and before/ URLs to whole days
Previously we'd generate links for each individual email, when clicking the link on the emails. This generates a huge number of URLs that contain basically the same thing, which has an adverse effect on both caching and (stupid) bots. So round it off to even days which puts at least some level of a cap on it. Also, when a hit comes in that specifies the full hour, redirect it back to the rounded-off value.
Diffstat (limited to 'loader/lib/exception.py')
0 files changed, 0 insertions, 0 deletions