Skip to content

[AutoSuspend] Make day selector less restrictive#12835

Merged
Frenzie merged 1 commit intomasterfrom
unknown repository
Dec 3, 2024
Merged

[AutoSuspend] Make day selector less restrictive#12835
Frenzie merged 1 commit intomasterfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Dec 3, 2024

This allows to set days to zero. As a security fall back setting days and hours both to zero will yield 5m autosuspend time. (to avoid shutdown loops).
fixes #12831


This change is Reviewable

@ghost ghost added the Plugin label Dec 3, 2024
@Frenzie
Copy link
Copy Markdown
Member

Frenzie commented Dec 3, 2024

The 5 minutes is already in there?

@Frenzie Frenzie added this to the 2025.01 milestone Dec 3, 2024
@ghost
Copy link
Copy Markdown
Author

ghost commented Dec 3, 2024

The 5 minutes is already in there?

Yes, for at least two years.

{5*60, 28*24*3600}, 2)

@Frenzie Frenzie merged commit 6036761 into koreader:master Dec 3, 2024
@ghost ghost deleted the moreFlexibleAutoSuspend branch December 3, 2024 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FR: Ability to specify an arbitrary auto shutdown timeout

1 participant