mirror of
https://github.com/Dasemu/Synapse.git
synced 2026-11-26 15:26:17 +00:00
- upload_blob resumes until the server confirms the blob (202/409 are not success) - missing local blob skips its PutAsset instead of blocking all later ops - failed blob downloads are counted and retried, not fatal to the cycle - server validates pushed ops (hash, hlc, clock skew) and returns per-op rejections - pulled ops that can never apply are quarantined; storage errors stay fatal - SYNAPSE_MAX_CLOCK_SKEW_MINUTES; document Arc<Mutex<Graph>> handle for the FFI Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
20 lines
834 B
Bash
20 lines
834 B
Bash
# Synapse server configuration (names only; never commit real values).
|
|
|
|
# Address the sync server listens on, e.g. 127.0.0.1:7878 (default if empty)
|
|
SYNAPSE_BIND=
|
|
# Directory holding server-side graphs and blobs (required)
|
|
SYNAPSE_DATA_DIR=
|
|
# Bearer token(s) clients must present, comma separated, each >= 16 chars
|
|
# (generate with `openssl rand -hex 32`; required)
|
|
SYNAPSE_AUTH_TOKEN=
|
|
# Token that authorises POST /admin/update (self-update). Endpoint disabled if empty.
|
|
SYNAPSE_UPDATE_TOKEN=
|
|
# Update script run by the endpoint (default /opt/synapse/scripts/update.sh)
|
|
SYNAPSE_UPDATE_SCRIPT=
|
|
# Reject pushed ops whose clock is more than this many minutes ahead of the server (default 10)
|
|
SYNAPSE_MAX_CLOCK_SKEW_MINUTES=
|
|
# Log format: text (default) or json
|
|
SYNAPSE_LOG_FORMAT=
|
|
# Log filter, e.g. info,synapse_server=debug
|
|
RUST_LOG=
|