create a workaround to fix the oom problem

This commit is contained in:
crapStone 2024-02-05 19:16:35 +01:00 committed by crapStone
parent dd6d8bd60f
commit a9b6615286
3 changed files with 63 additions and 2 deletions

View file

@ -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 ###