Skip to content
This repository was archived by the owner on Jul 16, 2022. It is now read-only.
This repository was archived by the owner on Jul 16, 2022. It is now read-only.

[Enhancement] [remindme] Limit the maximum time for a reminder #524

@wasdennnoch

Description

@wasdennnoch

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.

Metadata

Metadata

Assignees

Labels

priority: SubstantialIssues that require substantial priority to be handleds: In ProgressIssues which are WIP and should not be finished/merged. The issue is in progresstarget: CommandsIssues that target Command filestype: EnhancementIssues that enhance an existing feature or module

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions