max total storage usage implemented!
code may be a bit messy but.... also implemented a storage usage stat (that can be toggled in .env) that shows on the home page, you can also enable the total limit to show as well eventually i need to implement clearing old unfinished uploads both on startup, admin actions, and cleaning up on upload failure
This commit is contained in:
@@ -18,7 +18,11 @@ goals:
|
||||
|
||||
# roadmap/todo
|
||||
|
||||
- [ ] max total storage usage
|
||||
- [x] max total storage usage
|
||||
- [ ] clean up unfinished uploads
|
||||
- [ ] on startup
|
||||
- [ ] on upload failure
|
||||
- [ ] on admin action
|
||||
- [ ] size based expiry
|
||||
- exclusions if below a certain size (like 5mb)
|
||||
- [ ] prometheus metrics
|
||||
@@ -33,6 +37,7 @@ goals:
|
||||
- update expiry of uploads
|
||||
- prune uploads that haven't been accessed for a specific amount of time
|
||||
- delete (duh!)
|
||||
- prune unfinished uploads
|
||||
- local access from a specifc ip or range only
|
||||
- [x] ASN blocking via geolite2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user