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

purge "purge"? #202

Open
mccalluc opened this issue Sep 25, 2018 · 0 comments
Open

purge "purge"? #202

mccalluc opened this issue Sep 25, 2018 · 0 comments

Comments

@mccalluc
Copy link
Member

mccalluc commented Sep 25, 2018

It was used for the old container management, but it's been replaced by LRU. Confirm that Refinery doesn't need it before removing.

For example, tasks.py:

@task()
def django_docker_cleanup():
    # TODO: Specify manager, if not default
    DockerClientWrapper().purge_inactive(
        settings.DJANGO_DOCKER_ENGINE_SECONDS_INACTIVE
    )

@jkmarx and @scottx611x : Opinions?

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

No branches or pull requests

1 participant