make max output settings
Some checks failed
go-test / go test (push) Successful in 12s
Release / Build & publish (push) Failing after 1m7s

This commit is contained in:
2026-06-10 11:37:59 +03:00
parent b44cccf8d1
commit 8cf2584ce5
4 changed files with 39 additions and 2 deletions

View File

@@ -307,6 +307,17 @@ func (p *Parser) parseFile() (*File, error) {
}
f.MemoryLimit = n
case "max_output":
p.advance()
if _, err := p.expect(TOKEN_ASSIGN); err != nil {
return nil, err
}
n, err := p.parseSize()
if err != nil {
return nil, err
}
f.MaxOutput = n
case "group":
g, err := p.parseGroup(f.Timeout, f.MemoryLimit)
if err != nil {