kopia lustrzana https://github.com/jupyterhub/repo2docker
Swap limit doesn't have to be bigger than memory limit
rodzic
032baf6d04
commit
2eb4781c2e
|
@ -535,7 +535,7 @@ class BuildPack:
|
|||
# a memory limit
|
||||
limits = {
|
||||
'memory': memory_limit,
|
||||
'memswap': memory_limit + 1
|
||||
'memswap': memory_limit
|
||||
}
|
||||
|
||||
build_kwargs = dict(
|
||||
|
|
|
@ -33,7 +33,7 @@ class DockerBuildPack(BuildPack):
|
|||
# a memory limit
|
||||
limits = {
|
||||
'memory': memory_limit,
|
||||
'memswap': memory_limit + 1
|
||||
'memswap': memory_limit,
|
||||
}
|
||||
|
||||
build_kwargs = dict(
|
||||
|
|
Ładowanie…
Reference in New Issue