Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Configuration

drawbar reads an optional TOML file at $XDG_CONFIG_HOME/drawbar/config.toml, or ~/.config/drawbar/config.toml when XDG_CONFIG_HOME is unset or relative. Every key is optional, and these are the defaults:

[fsmonitor]
mode = "auto"              # "auto", "always" or "never"
min_tracked_files = 3000   # index entries at which "auto" turns fsmonitor on
include = []               # repository paths that always get fsmonitor
exclude = []               # repository paths that never get it

[lease]
timeout_secs = 120         # how long fetch, gc and the like wait for the lease
suppress_auto_gc = true    # run agent calls with -c gc.auto=0

[drawbard]
coalesce_ttl_secs = 0      # seconds a successful fetch also answers later equivalent fetches

Paths in include and exclude are absolute or start with ~/.

coalesce_ttl_secs is read by drawbar daemon when it starts, so restart drawbard after you change it (systemctl --user restart drawbard.service; see Running drawbard). At 0, only fetches still running are shared. See ADR 0014.

A missing file means the defaults. When the file is unreadable, is not a regular file such as a FIFO or a directory, is not valid TOML, or holds an unknown key or a bad value, the loader ignores the whole file, returns the defaults, and prints one drawbar: ignoring ... line on stderr that names the file and the problem. The shim reads the file on every call. See ADR 0003.