Skip to content

Commit 31649d4

Browse files
authored
Raise dbache limit and add single-arch builds (Start9Labs#106)
* add single-arch build to Makefile * remove dbcache limit
1 parent 440c3f0 commit 31649d4

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ clean:
1515
verify: $(PKG_ID).s9pk
1616
embassy-sdk verify s9pk $(PKG_ID).s9pk
1717

18+
# for rebuilding just the arm image. will include docker-images/x86_64.tar into the s9pk if it exists
19+
arm: docker-images/aarch64.tar scripts/embassy.js
20+
embassy-sdk pack
21+
22+
# for rebuilding just the x86 image. will include docker-images/aarch64.tar into the s9pk if it exists
23+
x86: docker-images/x86_64.tar scripts/embassy.js
24+
embassy-sdk pack
25+
1826
$(PKG_ID).s9pk: manifest.yaml assets/compat/* docker-images/aarch64.tar docker-images/x86_64.tar instructions.md scripts/embassy.js
1927
embassy-sdk pack
2028

scripts/services/getConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ export const getConfig: T.ExpectedExports.getConfig = compat.getConfig({
274274
"How much RAM to allocate for caching the TXO set. Higher values improve syncing performance, but increase your chance of using up all your system's memory or corrupting your database in the event of an ungraceful shutdown. Set this high but comfortably below your system's total RAM during IBD, then turn down to 450 (or leave blank) once the sync completes.",
275275
"warning":
276276
"WARNING: Increasing this value results in a higher chance of ungraceful shutdowns, which can leave your node unusable if it happens during the initial block download. Use this setting with caution. Be sure to set this back to the default (450 or leave blank) once your node is synced.",
277-
"range": "(0,1024]",
277+
"range": "(0,*)",
278278
"integral": true,
279279
"units": "MiB",
280280
},

0 commit comments

Comments
 (0)