root-gg / plik

Plik is a temporary file upload system (Wetransfer like) in Go.
https://plik.root.gg
Other
1.42k stars 167 forks source link

Add configurable limit for total max size #495

Closed axedoardo closed 9 months ago

axedoardo commented 10 months ago

Right now in the config file you can set the max dimension of a single file with MaxFileSizeStr. It would be useful to add a total maximum size limit, useful for example when you upload a lot of small files and you want to limit the total size.

camathieu commented 10 months ago

Hi, you are lucky :)

This as been implemented and will be part of the next release probably next week. You can try it by building from sources on master or with docker rootgg/plik:dev

On Fri, Aug 25, 2023, 14:58 axedoardo @.***> wrote:

Right now in the config file you can set the max dimension of a single file with MaxFileSizeStr. It would be useful to add a total maximum size limit, useful for example when you upload a lot of small files and you want to limit the total size.

— Reply to this email directly, view it on GitHub https://github.com/root-gg/plik/issues/495, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQ5XPQVJE5GSM3EG3R7KSTXXCOQFANCNFSM6AAAAAA36PIJWE . You are receiving this because you are subscribed to this thread.Message ID: @.***>