strfry.conf raw
1 ##
2 ## strfry config for negentropy interop testing
3 ##
4
5 # Directory that contains the strfry LMDB database
6 db = "/strfry-db/"
7
8 dbParams {
9 maxreaders = 256
10 mapsize = 10995116277760
11 noReadAhead = false
12 }
13
14 events {
15 maxEventSize = 65536
16 rejectEventsNewerThanSeconds = 900
17 rejectEventsOlderThanSeconds = 94608000
18 rejectEphemeralEventsOlderThanSeconds = 60
19 ephemeralEventsLifetimeSeconds = 300
20 maxNumTags = 2000
21 maxTagValSize = 1024
22 }
23
24 relay {
25 # Listen on all interfaces for Docker
26 bind = "0.0.0.0"
27 port = 7777
28
29 nofiles = 1000000
30 realIpHeader = ""
31
32 info {
33 name = "strfry test"
34 description = "strfry instance for negentropy interop testing"
35 pubkey = ""
36 contact = ""
37 icon = ""
38 nips = ""
39 }
40
41 maxWebsocketPayloadSize = 131072
42 maxReqFilterSize = 200
43 autoPingSeconds = 55
44 enableTcpKeepalive = false
45 queryTimesliceBudgetMicroseconds = 10000
46 maxFilterLimit = 10000
47 maxSubsPerConnection = 20
48
49 writePolicy {
50 plugin = ""
51 }
52
53 compression {
54 enabled = true
55 slidingWindow = true
56 }
57
58 logging {
59 dumpInAll = false
60 dumpInEvents = false
61 dumpInReqs = false
62 dbScanPerf = false
63 invalidEvents = true
64 }
65
66 numThreads {
67 ingester = 3
68 reqWorker = 3
69 reqMonitor = 3
70 negentropy = 4
71 }
72
73 negentropy {
74 # Enable negentropy protocol for sync testing
75 enabled = true
76 maxSyncEvents = 1000000
77 }
78 }
79