kopia lustrzana https://github.com/jupyterhub/repo2docker
s/memoryswap/memswap/
Since clearly the equivalent of 'memory' is 'memswap' grumblepull/159/head
rodzic
86c24c1a18
commit
c3ec9c9fa8
|
@ -392,7 +392,7 @@ class BuildPack(LoggingConfigurable):
|
|||
limits = {
|
||||
# Always disable memory swap for building, since mostly
|
||||
# nothing good can come of that.
|
||||
'memoryswap': -1
|
||||
'memswap': -1
|
||||
}
|
||||
if memory_limit:
|
||||
limits['memory'] = memory_limit
|
||||
|
|
|
@ -22,7 +22,7 @@ class DockerBuildPack(BuildPack):
|
|||
limits = {
|
||||
# Always disable memory swap for building, since mostly
|
||||
# nothing good can come of that.
|
||||
'memoryswap': -1
|
||||
'memswap': -1
|
||||
}
|
||||
if memory_limit:
|
||||
limits['memory'] = memory_limit
|
||||
|
|
Ładowanie…
Reference in New Issue