krz/hutch-stats

Server-side utility for calculating contributions for sourcehut users. contributions server sourcehut stats

Commit 3489797460

3489797460f9f8d19d37806da3b99c6b0baf4cf0

parent: e27bbe17fd

Verified · cmc

cmc <hello@cleberg.net> · 2026-04-12 03:52 UTC

add durable actor queueing and staggered discovery imports

Layout: unified · split

compose.yml +5
@@ -14,10 +14,15 @@ services:
1414 DATABASE_URL: sqlite:////data/srht_contrib.db
1515 DEFAULT_ACTOR: ${DEFAULT_ACTOR}
1616 POLL_INTERVAL_SECONDS: ${POLL_INTERVAL_SECONDS:-900}
17 DISCOVERY_BATCH_SIZE: ${DISCOVERY_BATCH_SIZE:-5}
18 INDEXED_ACTOR_REPOLL_SECONDS: ${INDEXED_ACTOR_REPOLL_SECONDS:-21600}
19 DISCOVERY_ERROR_BACKOFF_SECONDS: ${DISCOVERY_ERROR_BACKOFF_SECONDS:-3600}
20 SRHT_REQUEST_DELAY_SECONDS: ${SRHT_REQUEST_DELAY_SECONDS:-0.5}
1721 ACTOR_ALIASES_JSON: ${ACTOR_ALIASES_JSON:-{}}
1822 GIT_TRACKED_REPOSITORIES: ${GIT_TRACKED_REPOSITORIES:-[]}
1923 volumes:
2024 - hutch-stats-data:/data
25 - ./srht_usernames.txt:/app/srht_usernames.txt:ro
2126 restart: unless-stopped
2227
2328volumes: