custom dbParams settings, like maxreaders

This commit is contained in:
Doug Hoyte
2023-02-02 15:18:18 -05:00
parent 4f3a245407
commit baba729bc5
2 changed files with 12 additions and 2 deletions

2
golpe

Submodule golpe updated: dd543e3fef...92cd3de18d

View File

@ -2,6 +2,7 @@ appName: strfry
quadrable: true
onAppStartup: true
useGlobalH: true
customLMDBSetup: true
flatBuffers: |
include "../fbs/nostr-index.fbs";
@ -83,10 +84,19 @@ tablesRaw:
config:
- name: db
desc: "Directory that contains strfry database"
desc: "Directory that contains the strfry LMDB database"
default: "./strfry-db/"
noReload: true
- name: dbParams__maxreaders
desc: "Maximum number of threads/processes that can simultaneously have LMDB transactions open"
default: 256
noReload: true
- name: dbParams__mapsize
desc: "Size of mmap() to use when loading LMDB (does *not* correspond to disk-space used, default is 10TB)"
default: 10995116277760
noReload: true
- name: relay__bind
desc: "Interface to listen on. Use 0.0.0.0 to listen on all interfaces"
default: "127.0.0.1"