Skip to content
Snippets Groups Projects
Unverified Commit 494448b7 authored by Andrei Eres's avatar Andrei Eres Committed by GitHub
Browse files

Cleanup PVF artifact by cache limit and stale time (#4662)


Part of https://github.com/paritytech/polkadot-sdk/issues/4324
We don't change but extend the existing cleanup strategy. 
- We still don't touch artifacts being stale less than 24h
- First time we attempt pruning only when we hit cache limit (10 GB)
- If somehow happened that after we hit 10 GB and least used artifact is
stale less than 24h we don't remove it.

---------

Co-authored-by: default avatars0me0ne-unkn0wn <48632512+s0me0ne-unkn0wn@users.noreply.github.com>
Co-authored-by: default avatarAndrei Sandu <54316454+sandreim@users.noreply.github.com>
parent dd4e6fd0
No related merge requests found
Pipeline #480431 waiting for manual action with stages
in 1 hour, 16 minutes, and 15 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment