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

more explanation for "max per" #147

Merged
merged 2 commits into from
Dec 1, 2023
Merged

more explanation for "max per" #147

merged 2 commits into from
Dec 1, 2023

Conversation

frrad
Copy link
Contributor

@frrad frrad commented Nov 27, 2023

I believe this is how it works after reading

https://github.com/autobrr/autobrr/blob/develop/internal/database/filter.go#L1424-L1472

I had originally guessed that the count was over a rolling "download period" sized lookback window, thought other people might also have been confused.

Copy link

netlify bot commented Nov 27, 2023

Deploy Preview for autobrr ready!

Name Link
🔨 Latest commit c5b4743
🔍 Latest deploy log https://app.netlify.com/sites/autobrr/deploys/656794516512e200080db5ce
😎 Deploy Preview https://deploy-preview-147--autobrr.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.


† If "Max downloads" is set, the filter will only match if you have downloaded fewer than "max downloads" items since the beginning of the "max downloads per" period. For instance, if you set "max downlods" to 3 and "max downloads per" to "day" the filter won't match unless you have downloaded fewer than 3 items since the beginning of the current day, in local time.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest replace that crucifix for the blue info box like we have in many other places. It may look more familiar.

switch to `:::info`
@frrad
Copy link
Contributor Author

frrad commented Nov 29, 2023

How's this? I copied what I saw elsewhere but not sure how to check if it renders properly.

@s0up4200 s0up4200 merged commit 0217110 into autobrr:main Dec 1, 2023
4 checks passed
@frrad frrad deleted the patch-1 branch December 2, 2023 04:27
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.

3 participants