Limiting the maximum number of possible pin versions

Hi!

I am an admin on a posit connect server. We are using the pins package to save our data products to Posit Connect.

My question is:

Is there a way to set a server wide maximum number of versions for pins? Otherwise there is the danger that a lot of versions are taking up the disk space on the server.

Thanks for the help!

You can set an Application.BundleRetentionLimit, which limits the number of pinned bundles that will be stored. This also applies to historical versions of other applications; right now there's no way to limit it to pins specifically.

There are also some functions in the pins packages for pruning historical versions of pins by date:

1 Like