Commit Graph

23 Commits (e8502cee0c9609775735015e0234dd4f53f5d3cb)

Author SHA1 Message Date
ansuz caece0123e archive pin logs instead of removing them outright
ansuz f2ec9cbe33 load premium and customLimits to avoid evicting them even if inactive
ansuz 082c120f86 lint compliance
ansuz 04d1bc9cd7 archive inactive data in one of the server's workers
ansuz 6ada5fd751 always consider premium accounts to be active
ansuz 5358fab615 more WIP inactive account eviction
ansuz e6f1ed6349 simplify inactive account removal in evict-inactive.js
ansuz d794e0b48f include inactive accounts in the archival script
ansuz c9846e532b compare live blob activity against 'inactiveTime' instead of 'retentionTime' which is intended for archived content expiration
ansuz 95965c1dee keep a parallel implementation of the pin loader to validate the new one
ansuz e128683ffb call back with errors instead of throwing within the Storage module
ansuz 725d10fc60 nest storage directory inside './lib'
ansuz 3dc789cbca replace pinned.js with low-profile streaming implementation
ansuz c388641479 drop support for 'retainData' configuration
ansuz e6d5b0886e evict unpinned blobs and blob proofs
yflory d5c4285c61 lint compliance
ansuz c46e7f4021 log the time it takes to load pins and to run the eviction script
ansuz 8326b8b270 disable automatic blob expiration since we can't quite rely on atime as an inactivity metric
ansuz ac3a58cc38 fix a deadlock by returning the lock after clearing ephemeral channels
ansuz cb0c4ee944 don't continue iterating in listChannels until a the current task has called back
ansuz 2605d27e3f fix a completely wrong function signature
ansuz 5a1c25a0df fix a race condition, shutdown the log when you're done
ansuz ede929f4e4 implement inactive channel archival and archival expiration