Skip to content

Commit

Permalink
Fix #363 with format for max memory
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
  • Loading branch information
alexellis committed Nov 22, 2024
1 parent 055e57e commit 404af1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hack/faasd-provider.service
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Description=faasd-provider

[Service]
MemoryLimit=500M
MemoryMax=500M
Environment="secret_mount_path={{.SecretMountPath}}"
Environment="basic_auth=true"
Environment="hosts_dir=/var/lib/faasd"
Expand Down
2 changes: 1 addition & 1 deletion hack/faasd.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Description=faasd
After=faasd-provider.service

[Service]
MemoryLimit=500M
MemoryMax=500M
ExecStart=/usr/local/bin/faasd up
Restart=on-failure
RestartSec=10s
Expand Down

0 comments on commit 404af1c

Please sign in to comment.