maxAttachmentSizeTotal is not respected if its bigger than 64MiB
GabeDuarteM opened this issue Β· comments
Hey! π
I wanted to use ots to share somewhat bigger files, and I found maxAttachmentSizeTotal
on the customization docs, which as far as I understood, should allow me to change the max size of attachments (along with maxSecretSize). If I set this to anything lower than 64MiB, it works as expected, but if its anything above it, then it gets completely ignored, as seen on this line.
Is there a reason for this to be there? I wanted to either disable the max file size, or at least set it to something way bigger, like 10gb, but because of that line, I can't really do that, and thats also not mentioned on the customization page π€
See the documentation of the parameter in the "Customization" page in the Wiki and the reasoning in the customize.go for the explanation.