1
0
mirror of https://github.com/owenthereal/jqplay.git synced 2025-04-19 06:02:17 +03:00

Increase memory limit to 48 MiB (#187)

32 MiB not enough for latest jqjq :(

Tested with local verison of jqplay
This commit is contained in:
Mattias Wadman 2024-02-26 21:21:14 +01:00 committed by GitHub
parent c065680bd0
commit c057a442bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -106,7 +106,7 @@ func NewJQExec() *JQExec {
}
const (
limitMemory uint64 = 32 * 1024 * 1024 // 32 MiB
limitMemory uint64 = 48 * 1024 * 1024 // 48 MiB
limitCPUTime uint64 = 20 // 20 percentage
)