Settings: Core
The core settings: the store, files and cryptography. 18 settings, with their type, default and allowed values. Settings explains where a value comes from and how to change one.
A setting marked per room is carried by the room, so every member uses the same value. A setting marked weakens safety needs an explicit confirmation when you set it to anything but its default.
| Setting | Default and allowed values | What it does |
|---|---|---|
blobs.chunk_bytesint | 1048576 bytes range 4096 to 1073741824 bytes | Blobs are streamed, hashed and listed in pieces of this size. |
e2ee.committer_timeout_sint | 3600 s range 0 to 31536000 s | In an MLS room (Decision 18), an owner may take the committer role over after the committer made no commit for this long while proposals wait. |
e2ee.plaintext_cachechoice | disk one of disk, memory | Where il-mls keeps the plaintexts it has opened (an MLS key opens a message once): disk (0600, read again later) or memory (only for the process; once it exits, opened messages cannot be read again). |
store.changes_max_bytesint | 4194304 bytes range 4096 to 17179869184 bytes | The store-wide change journal (<store>/changes) starts a new generation past this size; readers then rescan every room once. |
store.checkpoint_everyint | 256 entries range 1 to 1000000000 entries | A writer rewrites the room checkpoint after this many new entries (and at once after a room.* entry). |
store.confirm_timeout_sfloat | 10.0 s range 0.0 to 86400.0 s | How long wait_cursors waits for readers to confirm when the caller gives no timeout. |
store.durabilitychoice | batch one of none, batch, always | When an append returns: none = in the page cache, batch = plus fsync within store.fsync_batch_ms, always = fsync (F_FULLFSYNC on macOS) first. |
store.fsync_batch_msfloat | 5.0 ms range 0.1 to 60000.0 ms | With durability batch, the longest time between an append and its fsync. |
store.inline_limit_bytesint | 65536 bytes range 1024 to 1073741824 bytes | Payloads larger than this go to the blob store and the entry carries a reference. |
store.lock_timeout_msint | 30000 ms range 0 to 86400000 ms | How long a writer waits for a room's lock before failing; 0 waits forever. |
store.max_segment_bytesint | 67108864 bytes range 4096 to 1099511627776 bytes | A segment file is closed with a roll record once it reaches this size. |
store.poll_max_usint | 5000 us range 1 to 10000000 us | Longest sleep of the polling wake-up. |
store.poll_min_usint | 50 us range 1 to 1000000 us | First sleep of the polling wake-up; it doubles up to store.poll_max_us. |
store.presence_ttl_sfloat | 60.0 s range 0.01 to 86400.0 s | How long a presence beat counts when the caller gives no time to live. per room |
store.scan_chunk_bytesint | 8388608 bytes range 65536 to 1073741824 bytes | How much of a segment is read at once while catching up. |
store.verify_cacheint | 100000 signatures range 0 to 100000000 signatures | Signature checks remembered per store, so an entry is verified once. |
store.wake_mechanismchoice | auto one of auto, poll | auto = kqueue on macOS and BSD, inotify on Linux; poll = sleep and re-check (for filesystems without events). |
store.wake_spin_usint | 0 us range 0 to 10000000 us | Before sleeping in wait or wait_cursors, poll this long (keeps a core awake; costs CPU). |