Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[11.x] Pass decay seconds or minutes like hour and day #51053

Closed
wants to merge 2 commits into from

Conversation

jimmypuckett
Copy link
Contributor

The existing perHour & perDay methods allow passing in an optional decayHours/decayDays, but perSecond & perMinute do not follow the same pattern. I know that there is the perMinutes, but it flips decay & max.

This is just a quick PR to make the API consistent.

Copy link

Thanks for submitting a PR!

In order to review and merge PRs most efficiently, we require that all PRs grant maintainer edit access before we review them. For information on how to do this, see the relevant GitHub documentation. Additionally, GitHub doesn't allow maintainer permissions from organization accounts. Please resubmit this PR from a personal GitHub account with maintainer permissions enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant