1
0
Fork 0
fake-firehose/.env.production.sample

34 lines
1.3 KiB
Plaintext
Raw Permalink Normal View History

2022-12-18 01:45:49 +00:00
fakeRelayKey="YOUR--FAKE---RELAY---KEY"
fakeRelayHost="https://your-fake-relay-url.YourPetMastodon.com"
2022-12-27 23:27:50 +00:00
## Set to false if you don't want to send URIs to your fakerelay. Generally this is only used for debugging
runFirehose=true
2022-12-18 01:45:49 +00:00
2022-12-22 14:10:36 +00:00
## Maximum number of curl instances to be allowed to run. This is only used
## if you send data to the relay
2022-12-27 23:27:50 +00:00
maxCurls=500
2022-12-26 17:31:53 +00:00
## Minimum number of posts to queue up before sending the to the relay.
## This is more useful when you are streaming federated timelines from larger instances
## because you will have a lot of duplicate URIs, wasting resources on your machine.
## A URI batch is de-duplicated before being sent to the relay.
##
## On the other hand, if you are not following timelines that generate a lot of posts
## a smaller value is appropriate.
2022-12-22 14:10:36 +00:00
minURIs=100
2022-12-18 01:45:49 +00:00
2022-12-22 14:10:36 +00:00
## Archive mode will save the json stream but not parse it, not even into URIs
## This will greatly save resources, but obviously will not send it to
## the relay.
2022-12-27 23:27:50 +00:00
##
## Generally only used for debugging or archiving instance streams
2022-12-22 14:10:36 +00:00
archive=false
## Restart timeout
## Put whatever amount of time here you want the container to restart after
## This will kill any hanging curl processes that may be taking up uncessary
## resources
restartTimeout=1h
## How long to delay starting a stream. Leave it here unless you are debugging
streamDelay="0.1s"