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[slingshot]
36# Base URL of a slingshot instance. Used for record bodies and identity.
37#
38# Can also be specified via environment variable `BOBBIN_SLINGSHOT_URL`.
39#
40# Default value: "http://127.0.0.1:13011"
41#url = "http://127.0.0.1:13011"
42
43[record_cache]
44# Bound of bytes on the in-process record LRU. Records evict on a weighted
45# LRU policy keyed on URI plus payload length.
46#
47# Can also be specified via environment variable `BOBBIN_RECORD_LRU_BYTES`.
48#
49# Default value: 67108864
50#lru_bytes = 67108864
51
52[search]
53# The heap size in bytes for the in-mem tantivy writer. Larger values
54# trade RAM for fewer segment merges - the index itself lives in
55# `RamDirectory` and is rebuilt from hydrant replay on every restart.
56#
57# Can also be specified via environment variable `BOBBIN_SEARCH_HEAP_BYTES`.
58#
59# Default value: 50000000
60#heap_bytes = 50000000
61
62[knot]
63# Whether to allow the knot proxy to dial private/loopback addresses. Off in
64# production - on for local testing against a knotserver on localhost.
65#
66# Can also be specified via environment variable `BOBBIN_KNOT_ALLOW_PRIVATE`.
67#
68# Default value: false
69#allow_private = false
70
71# Require https on knot hosts. Disable only when proxying to a local
72# knot for development.
73#
74# Can also be specified via environment variable `BOBBIN_KNOT_REQUIRE_HTTPS`.
75#
76# Default value: true
77#require_https = true
78
79[log]
80# Log emitter format. `text` produces human-readable output for local
81# development. `json` emits one structured object per line for log
82# shippers in production.
83#
84# Can also be specified via environment variable `BOBBIN_LOG_FORMAT`.
85#
86# Default value: "text"
87#format = "text"
88
89# `tracing-subscriber` env-filter directive. Defaults to `info` across
90# every span - override with `BOBBIN_LOG=bobbin_xrpc=debug,info` etc.
91#
92# Can also be specified via environment variable `BOBBIN_LOG`.
93#
94# Default value: "info"
95#filter = "info"