Skip to content

[Feature] improve "Clean when above" #288

@Initial-heart-1

Description

@Initial-heart-1

Checklist

  • I have used the search function to see if someone else has already submitted the same feature request.
  • I will describe the problem with as much detail as possible.
  • This issue only contains a request for one single feature, not multiple (related) features.

App version

/

Problem you are trying to solve

now, if this function is enabled, when memory usage remains above this threshold after cleaning, MR always attempts to clean up, resulting meaningless clean up compared to usual.

Suggested solution

Add a CD counter to it and allow users to configure CD time base, it tells MR when to clean up. After each cleaning, increase it by 1 as a coefficient and multiply it by base to get time of next cleaning, it should have a maximum value. If current memory usage is less than threshold, the counter decreases by 1 for each time base elapsed.

Screenshots / Drawings / Technical details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions