return swap listing in the disk route

This commit is contained in:
Girish Ramakrishnan
2022-11-04 15:09:37 +01:00
parent c4c90cfaf9
commit 549cb92ce7
8 changed files with 50 additions and 20 deletions

View File

@@ -349,7 +349,7 @@ async function createSubcontainer(app, name, cmd, options) {
'syslog-format': 'rfc5424'
}
},
Memory: system.getMemoryAllocation(memoryLimit),
Memory: await system.getMemoryAllocation(memoryLimit),
MemorySwap: memoryLimit, // Memory + Swap
PortBindings: isAppContainer ? dockerPortBindings : { },
PublishAllPorts: false,