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

Add CallableEventWithFilter support to GarbageCollector #6663

Merged
merged 6 commits into from
Jun 28, 2023

Conversation

matt3o
Copy link
Contributor

@matt3o matt3o commented Jun 27, 2023

Fixes # .

Description

Adds support for CallableEventWithFilter which is useful for not calling the GarbageCollector every iteration but e.g. every 10 iterations.

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Breaking change (fix or new feature that would cause existing functionality to change).
  • New tests added to cover the changes.
  • Integration tests passed locally by running ./runtests.sh -f -u --net --coverage.
  • Quick tests passed locally by running ./runtests.sh --quick --unittests --disttests.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

Signed-off-by: Matthias Hadlich <matthiashadlich@posteo.de>
Signed-off-by: Matthias Hadlich <matthiashadlich@posteo.de>
Signed-off-by: Matthias Hadlich <matthiashadlich@posteo.de>
@wyli
Copy link
Contributor

wyli commented Jun 28, 2023

/black

monai-bot and others added 3 commits June 28, 2023 07:28
Signed-off-by: monai-bot <monai.miccai2019@gmail.com>
Signed-off-by: Matthias Hadlich <matthiashadlich@posteo.de>
Copy link
Contributor

@wyli wyli left a comment

Choose a reason for hiding this comment

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

Thanks, it looks good to me.

@matt3o matt3o marked this pull request as ready for review June 28, 2023 08:55
@wyli
Copy link
Contributor

wyli commented Jun 28, 2023

/build

@wyli wyli enabled auto-merge (squash) June 28, 2023 09:07
@wyli wyli merged commit 59470e4 into Project-MONAI:dev Jun 28, 2023
28 of 32 checks passed
@matt3o matt3o deleted the Update-GarbageCollector branch June 28, 2023 15:09
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