mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-19 03:26:57 +00:00
create a workaround to fix the oom problem
This commit is contained in:
parent
dd6d8bd60f
commit
a9b6615286
3 changed files with 63 additions and 2 deletions
|
@ -138,6 +138,12 @@ var (
|
|||
Aliases: []string{"config"},
|
||||
EnvVars: []string{"CONFIG_FILE"},
|
||||
},
|
||||
&cli.Uint64Flag{
|
||||
Name: "memory-limit",
|
||||
Usage: "maximum size of memory in bytes to use for caching, default: 512MB",
|
||||
Value: 512 * 1024 * 1024,
|
||||
EnvVars: []string{"MAX_MEMORY_SIZE"},
|
||||
},
|
||||
|
||||
// ############################
|
||||
// ### ACME Client Settings ###
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue