mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-17 16:58:50 +00:00
re-gen config file
This commit is contained in:
54
strfry.conf
54
strfry.conf
@ -13,6 +13,29 @@ dbParams {
|
|||||||
mapsize = 10995116277760
|
mapsize = 10995116277760
|
||||||
}
|
}
|
||||||
|
|
||||||
|
events {
|
||||||
|
# Maximum size of normalised JSON, in bytes
|
||||||
|
maxEventSize = 65536
|
||||||
|
|
||||||
|
# Events newer than this will be rejected
|
||||||
|
rejectEventsNewerThanSeconds = 900
|
||||||
|
|
||||||
|
# Events older than this will be rejected
|
||||||
|
rejectEventsOlderThanSeconds = 94608000
|
||||||
|
|
||||||
|
# Ephemeral events older than this will be rejected
|
||||||
|
rejectEphemeralEventsOlderThanSeconds = 60
|
||||||
|
|
||||||
|
# Ephemeral events will be deleted from the DB when older than this
|
||||||
|
ephemeralEventsLifetimeSeconds = 300
|
||||||
|
|
||||||
|
# Maximum number of tags allowed
|
||||||
|
maxNumTags = 2000
|
||||||
|
|
||||||
|
# Maximum size for tag values, in bytes
|
||||||
|
maxTagValSize = 1024
|
||||||
|
}
|
||||||
|
|
||||||
relay {
|
relay {
|
||||||
# Interface to listen on. Use 0.0.0.0 to listen on all interfaces (restart required)
|
# Interface to listen on. Use 0.0.0.0 to listen on all interfaces (restart required)
|
||||||
bind = "127.0.0.1"
|
bind = "127.0.0.1"
|
||||||
@ -97,28 +120,13 @@ relay {
|
|||||||
|
|
||||||
# reqMonitor threads: Handle filtering of new events (restart required)
|
# reqMonitor threads: Handle filtering of new events (restart required)
|
||||||
reqMonitor = 3
|
reqMonitor = 3
|
||||||
|
|
||||||
|
# negentropy threads: Handle negentropy protocol messages (restart required)
|
||||||
|
negentropy = 2
|
||||||
|
}
|
||||||
|
|
||||||
|
negentropy {
|
||||||
|
# Maximum records that can be processed per filter
|
||||||
|
maxFilterLimit = 1000000
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
events {
|
|
||||||
# Maximum size of normalised JSON, in bytes
|
|
||||||
maxEventSize = 65536
|
|
||||||
|
|
||||||
# Events newer than this will be rejected
|
|
||||||
rejectEventsNewerThanSeconds = 900
|
|
||||||
|
|
||||||
# Events older than this will be rejected
|
|
||||||
rejectEventsOlderThanSeconds = 94608000
|
|
||||||
|
|
||||||
# Ephemeral events older than this will be rejected
|
|
||||||
rejectEphemeralEventsOlderThanSeconds = 60
|
|
||||||
|
|
||||||
# Ephemeral events will be deleted from the DB when older than this
|
|
||||||
ephemeralEventsLifetimeSeconds = 300
|
|
||||||
|
|
||||||
# Maximum number of tags allowed
|
|
||||||
maxNumTags = 2000
|
|
||||||
|
|
||||||
# Maximum size for tag values, in bytes
|
|
||||||
maxTagValSize = 1024
|
|
||||||
}
|
|
||||||
|
Reference in New Issue
Block a user