mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-16 16:28:50 +00:00
custom dbParams settings, like maxreaders
This commit is contained in:
2
golpe
2
golpe
Submodule golpe updated: dd543e3fef...92cd3de18d
12
golpe.yaml
12
golpe.yaml
@ -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"
|
||||
|
Reference in New Issue
Block a user