-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
socializer diskspace growth limiting #342
Comments
I can build a cleanup hosted service, so you will configure how often it runs, and how old the stuff is that it deletes. — give me a day or two to publish a new container. I could also build a connector for another database if that is needed. Right now it is in-container sqlite only. Is there any need for that? |
#342 adds ability for socializer to clean up old posts and images
Released as 0.4.0. Build your own or get via |
Configuration file is here - how often the job runs and how old things need to be before they are deleted are listed as separate configurations. |
Thanks for this! We have pulled the new container and are testing! |
We are experimenting with socializer in our grayspace. We are concerned about filling up available space in the socializer docker container.
After attaching to the socializer docker container and looking at files, it appears that growth is in:
/app/db/socializer.db-shm
/app/db/socializer.db-wal (text posts?)
/app/wwwroot/images/* (images uploaded with posts are stored here).
We have to implement some sort of disk-limiting before we can deploy to this a real event, and could hack something together, but are wondering if there is any near term plans to implement automated post pruning, perhaps all posts older than XX hours gets automatically deleted to free space.
Thanks.
The text was updated successfully, but these errors were encountered: