upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/.env.example
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2025-12-05 12:03:52 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2025-12-05 12:03:52 +0000
commit339b0c02f2cec25ae804dc882f5ce7d1dd58b9a6 (patch)
treee3d80676913de96c2ac75eb2dc9a8954c88ab633 /.env.example
parentef7ba7c59b8e0b6369f63b8a46e202693963d92b (diff)
rename sunc_bootstrap_relay_url
Diffstat (limited to '.env.example')
-rw-r--r--.env.example41
1 files changed, 37 insertions, 4 deletions
diff --git a/.env.example b/.env.example
index 9207dc4..7545d03 100644
--- a/.env.example
+++ b/.env.example
@@ -100,12 +100,45 @@
100# RUST_LOG=info 100# RUST_LOG=info
101 101
102# ============================================================================ 102# ============================================================================
103# FUTURE/PLANNED OPTIONS (not yet implemented) 103# PROACTIVE SYNC (GRASP-02)
104# ============================================================================ 104# ============================================================================
105 105
106# Proactive sync settings (GRASP-02) 106# Bootstrap relay URL for initial sync (optional)
107# NGIT_PROACTIVE_SYNC_ENABLED=true 107# Additional relays are automatically discovered from repository announcements
108# NGIT_PROACTIVE_SYNC_INTERVAL_SECS=3600 108# that list our service domain.
109# CLI: --sync-bootstrap-relay-url <url>
110# Default: (none - relay discovery from stored announcements only)
111# NGIT_SYNC_BOOTSTRAP_RELAY_URL=wss://relay.example.com
112
113# Maximum backoff time in seconds for sync relay reconnection
114# CLI: --sync-max-backoff-secs <seconds>
115# Default: 3600 (1 hour)
116# NGIT_SYNC_MAX_BACKOFF_SECS=3600
117
118# Delay in seconds before running startup catchup
119# CLI: --sync-startup-delay-secs <seconds>
120# Default: 30
121# NGIT_SYNC_STARTUP_DELAY_SECS=30
122
123# Delay in seconds before running reconnect catchup
124# CLI: --sync-reconnect-delay-secs <seconds>
125# Default: 10
126# NGIT_SYNC_RECONNECT_DELAY_SECS=10
127
128# Number of days to look back for reconnect catchup
129# CLI: --sync-reconnect-lookback-days <days>
130# Default: 3
131# NGIT_SYNC_RECONNECT_LOOKBACK_DAYS=3
132
133# Maximum startup jitter in milliseconds for sync connections
134# Set to 0 to disable jitter (useful for testing)
135# CLI: --sync-startup-jitter-ms <ms>
136# Default: 10000 (10 seconds)
137# NGIT_SYNC_STARTUP_JITTER_MS=10000
138
139# ============================================================================
140# FUTURE/PLANNED OPTIONS (not yet implemented)
141# ============================================================================
109 142
110# Archive mode (GRASP-05) 143# Archive mode (GRASP-05)
111# NGIT_ARCHIVE_MODE=false \ No newline at end of file 144# NGIT_ARCHIVE_MODE=false \ No newline at end of file