How to limit file translation?

I want to provide the translation of files for every user of my service. How can I limit the usage? I’ve defined a character limit, but it seems that this only affects the text translation. The user can still upload a 20 MB file which takes for ever to translate, so I want to prevent this.

1 Like

I would set --disable-files-translation as there’s no good way to limit the size of file translations.

1 Like

Limiting the size of uploads to your webserver could work.

2 Likes

@argosopentech That is a good idea, I’ll look into that, thank you!

Apart from that, is there a way to define a timeout for file translations?

1 Like