This repository has been archived by the owner on Jul 16, 2022. It is now read-only.
[Enhancement] [remindme] Limit the maximum time for a reminder #524
Labels
priority: Substantial
Issues that require substantial priority to be handled
s: In Progress
Issues which are WIP and should not be finished/merged. The issue is in progress
target: Commands
Issues that target Command files
type: Enhancement
Issues that enhance an existing feature or module
Currently there is no upper limit on how long in the future a reminder can be, which means that it's possible to create reminders that run in a few centuries or even in
Infinity years
(thanks JS). While a few of those reminders probably won't be an issue in the long term people could abuse this to add masses of reminders that will practically never fire and just take up DB space and event loop queue items.I think it would be reasonable to cap the maximum time for a reminder at something like 10 years. I don't think many people set reminders beyond one year, and anything above 100 years is either useless or a user error.
The text was updated successfully, but these errors were encountered: