mirror of
https://github.com/engineer-man/piston.git
synced 2025-05-01 17:36:28 +02:00
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:
parent
73391cf718
commit
a6bc24e22e
2 changed files with 9 additions and 2 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue