You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Running a public instance can be scary without knowing that certain limits can be put in place to prevent your instance from become overloaded and too expensive to host. In the chat, there is a person that had a 28TB instance. A public instance would not be able to handle that very easily.
Describe the solution you'd like
The ability to track and monitor the sizes of the files uploaded by users.
A configurable quota limit would be desirable.
Describe alternatives you've considered
Sorting all user uploads with {username}/{files} could allow for a filesystem based quota outside of Manyfold
Additional context
I noticed that :size can be nil in the database for files. There should probably be a job to find any size: nil files and recalculate their file size. That way, a simple table join can be used to calculate total size of files owned by a user.
The text was updated successfully, but these errors were encountered:
This missing size is probably something left over from the Shrine migration, where it won't necessarily have run metadata analysis on all existing files. Re-running that Shrine analysis is probably the thing to do in that task
Is your feature request related to a problem? Please describe.
Running a public instance can be scary without knowing that certain limits can be put in place to prevent your instance from become overloaded and too expensive to host. In the chat, there is a person that had a 28TB instance. A public instance would not be able to handle that very easily.
Describe the solution you'd like
The ability to track and monitor the sizes of the files uploaded by users.
A configurable quota limit would be desirable.
Describe alternatives you've considered
Sorting all user uploads with
{username}/{files}
could allow for a filesystem based quota outside of ManyfoldAdditional context
I noticed that
:size
can benil
in the database for files. There should probably be a job to find anysize: nil
files and recalculate their file size. That way, a simple table join can be used to calculate total size of files owned by a user.The text was updated successfully, but these errors were encountered: