Fix issue where large files can be written to exhaust space

**BREAKING CHANGE**
Requires manually editing the config file, or deleting the config file entirely!
This commit is contained in:
Thomas Hobson 2021-04-28 15:39:23 +12:00
parent 73391cf718
commit a6bc24e22e
No known key found for this signature in database
GPG key ID: 9F1FD9D87950DB6F
2 changed files with 9 additions and 2 deletions

View file

@ -102,6 +102,12 @@ const options = [
default: 2048,
validators: []
},
{
key: 'max_file_size',
desc: 'Max file size in bytes for a file',
default: 1000000, //1MB
validators: []
},
{
key: 'repo_url',
desc: 'URL of repo index',