Skip to content

Commit

Permalink
Merge pull request #8069 from matejvasek/fix-memswap
Browse files Browse the repository at this point in the history
fix: neutral value for MemorySwappiness
  • Loading branch information
openshift-merge-robot authored Oct 20, 2020
2 parents cec0e57 + bacdbf6 commit 35b4cb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/api/handlers/compat/containers_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ func makeCreateConfig(ctx context.Context, containerConfig *config.Config, input
Pod: "", // podman
PodmanPath: "", // podman
Quiet: false, // front-end only
Resources: createconfig.CreateResourceConfig{},
Resources: createconfig.CreateResourceConfig{MemorySwappiness: -1},
RestartPolicy: input.HostConfig.RestartPolicy.Name,
Rm: input.HostConfig.AutoRemove,
StopSignal: stopSignal,
Expand Down

0 comments on commit 35b4cb1

Please sign in to comment.