[feature] persist the timing state of media-cleanup-every
#3045
Labels
enhancement
New feature or request
media-cleanup-every
#3045
Is your feature request related to a problem ?
It seems that the timer for
media-cleanup-every
get reset every time a gotosocial instance restarts. If this is true, it means that the media auto-cleanup will never take effect if the value ofmedia-cleanup-every
is greater than the interval at which the user update their GTS instance.Is it possible to save the timer for
media-cleanup-every
, so that the GTS instance can have themedia-cleanup-every
interval set freely even in the case of frequent updates?p.s. will #3042 fix this issue?
Describe the solution you'd like.
Persist the timing state of
media-cleanup-every
to db.Describe alternatives you've considered.
It would also be helpful to add a corresponding note in the documentation.
Additional context.
Specifically, my GTS instance restarts approximately every 24 hours due to updates. After setting media-cleanup-every to 168h, my storage keeps increasing and seems to never be cleaned up.
The text was updated successfully, but these errors were encountered: