run-spaceapp 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -1
- package/package.json +1 -1
- package/src/index.mjs +3 -2
package/README.md
CHANGED
package/package.json
CHANGED
package/src/index.mjs
CHANGED
|
@@ -22,7 +22,8 @@ import {
|
|
|
22
22
|
const CONFIG_SCHEMA_VERSION = 2;
|
|
23
23
|
const AUTO_LIGHT_MEMORY_THRESHOLD_BYTES = 12 * 1024 ** 3;
|
|
24
24
|
const MIN_INSTALL_CPU_COUNT = 4;
|
|
25
|
-
const MIN_INSTALL_MEMORY_BYTES =
|
|
25
|
+
const MIN_INSTALL_MEMORY_BYTES = 8_000_000_000;
|
|
26
|
+
const MIN_INSTALL_MEMORY_LABEL = "8 GB";
|
|
26
27
|
const MIN_INSTALL_FREE_DISK_BYTES = 15 * 1024 ** 3;
|
|
27
28
|
const PROFILE_RUNTIME_SETTINGS = Object.freeze({
|
|
28
29
|
light: Object.freeze({
|
|
@@ -129,7 +130,7 @@ export function installResourceChecks(resources) {
|
|
|
129
130
|
{
|
|
130
131
|
name: "Memory",
|
|
131
132
|
ok: totalMemoryBytes >= MIN_INSTALL_MEMORY_BYTES,
|
|
132
|
-
detail: `${formatGibibytes(totalMemoryBytes)} GB available; ${
|
|
133
|
+
detail: `${formatGibibytes(totalMemoryBytes)} GB available; ${MIN_INSTALL_MEMORY_LABEL} required`
|
|
133
134
|
},
|
|
134
135
|
{
|
|
135
136
|
name: "Free disk",
|