This repository has no description
1[server]
2# Addresses the XRPC server listens on. When using as an env var, comma-separated.
3#
4# Can also be specified via environment variable `BOBBIN_BIND`.
5#
6# Default value: ["127.0.0.1:8090", "[::1]:8090"]
7#binds = ["127.0.0.1:8090", "[::1]:8090"]
8
9# The amount of time in seconds to allow in-flight requests to drain after sigterm
10# before forcing the listener closed.
11#
12# Can also be specified via environment variable `BOBBIN_SHUTDOWN_GRACE_SECS`.
13#
14# Default value: 30
15#shutdown_grace_secs = 30
16
17[hydrant]
18# Base URL of the hydrant instance - the cursor-replayable /stream lives
19# under this. Use `ws://` or `wss://` - `http://` and `https://`
20# are rewritten to the corresponding ws scheme at connection time!
21#
22# Can also be specified via environment variable `BOBBIN_HYDRANT_URL`.
23#
24# Default value: "http://127.0.0.1:13010"
25#url = "http://127.0.0.1:13010"
26
27# The cursor to request on first connect. Reconnects ignore this and resume
28# strictly after the last cursor seen internally.
29#
30# Can also be specified via environment variable `BOBBIN_START_CURSOR`.
31#
32# Default value: 0
33#start_cursor = 0
34
35[ingest]
36# Concurrent in-flight resolves during ingest. One slot per slingshot rtt.
37# Default 16 sits at the measured throughput
38# knee for cold replay against a healthy hydrant. The committer stays
39# serial so that like, cursor and Spur allocation order are preserved.
40#
41# Can also be specified via environment variable `BOBBIN_INGEST_PARALLELISM`.
42#
43# Default value: 16
44#parallelism = 16
45
46[slingshot]
47# Base URL of a slingshot instance. Used for record bodies and identity.
48#
49# Can also be specified via environment variable `BOBBIN_SLINGSHOT_URL`.
50#
51# Default value: "http://127.0.0.1:13011"
52#url = "http://127.0.0.1:13011"
53
54[record_cache]
55# Bound of bytes on the in-process record LRU. Records evict on a weighted
56# LRU policy keyed on URI plus payload length.
57#
58# Can also be specified via environment variable `BOBBIN_RECORD_LRU_BYTES`.
59#
60# Default value: 67108864
61#lru_bytes = 67108864
62
63[search]
64# The heap size in bytes for the in-mem tantivy writer. Larger values
65# trade RAM for fewer segment merges - the index itself lives in
66# `RamDirectory` and is rebuilt from hydrant replay on every restart.
67#
68# Can also be specified via environment variable `BOBBIN_SEARCH_HEAP_BYTES`.
69#
70# Default value: 50000000
71#heap_bytes = 50000000
72
73[knot]
74# Whether to allow the knot proxy to dial private/loopback addresses. Off in
75# production - on for local testing against a knotserver on localhost.
76#
77# Can also be specified via environment variable `BOBBIN_KNOT_ALLOW_PRIVATE`.
78#
79# Default value: false
80#allow_private = false
81
82# Require https on knot hosts. Disable only when proxying to a local
83# knot for development.
84#
85# Can also be specified via environment variable `BOBBIN_KNOT_REQUIRE_HTTPS`.
86#
87# Default value: true
88#require_https = true
89
90[log]
91# Log emitter format. `text` produces human-readable output for local
92# development. `json` emits one structured object per line for log
93# shippers in production.
94#
95# Can also be specified via environment variable `BOBBIN_LOG_FORMAT`.
96#
97# Default value: "text"
98#format = "text"
99
100# `tracing-subscriber` env-filter directive. Defaults to `info` across
101# every span - override with `BOBBIN_LOG=bobbin_xrpc=debug,info` etc.
102#
103# Can also be specified via environment variable `BOBBIN_LOG`.
104#
105# Default value: "info"
106#filter = "info"