routing-api icon indicating copy to clipboard operation
routing-api copied to clipboard

Unpin stale pool data from IPFS

Open snreynolds opened this issue 2 years ago • 2 comments

snreynolds avatar Jul 08 '22 14:07 snreynolds

we're spamming pinata a bit with unused pool caches - first order of business should be to manually unpin all existing caches older than a day (?) or so - api docs are here https://docs.pinata.cloud/

next we should set up another cron job to purge caches on, again, a daily or so basis

beyond that, the only thing to look out for is that we aren't nuking anything else other than pool caches - should make sure that we're filtering appropriately to only unpin those

NoahZinsmeister avatar Jul 08 '22 15:07 NoahZinsmeister

script ready whenever we want to delete old data. longer term going to have @zhongeric write a cron job for this in routing-api.

snreynolds avatar Jul 08 '22 20:07 snreynolds