Skip to content

Commit 404af1c

Browse files
committed
Fix #363 with format for max memory
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
1 parent 055e57e commit 404af1c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

hack/faasd-provider.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Description=faasd-provider
33

44
[Service]
5-
MemoryLimit=500M
5+
MemoryMax=500M
66
Environment="secret_mount_path={{.SecretMountPath}}"
77
Environment="basic_auth=true"
88
Environment="hosts_dir=/var/lib/faasd"

hack/faasd.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Description=faasd
33
After=faasd-provider.service
44

55
[Service]
6-
MemoryLimit=500M
6+
MemoryMax=500M
77
ExecStart=/usr/local/bin/faasd up
88
Restart=on-failure
99
RestartSec=10s

0 commit comments

Comments
 (0)