Commit Graph

23 Commits

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