Skip to content
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 <[email protected]>
Co-authored-by: default avatarAndrei Sandu <[email protected]>
parent dd4e6fd0
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