Inspection is split into prepare (database), probe (lib/content/probe: downloads, decoding and parsing, no database) and apply (database). worker:collection runs all three; seed:node with SEED_INSPECTORS leases jobs from the same queues through the seed API (BullMQ manual leases), fetches articles through the seed API and posts the probes back. A node now needs only SEED_URL and SEED_TOKEN: the settings the app requires but a node never uses get placeholders for seed:node. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
19 lines
714 B
Bash
19 lines
714 B
Bash
# The seed API (the orchestrator) and this node's token (`node ace seed:token <name>` on the indexer).
|
|
SEED_URL=https://seed.exp.sforum.nl
|
|
SEED_TOKEN=sn_replace_me
|
|
|
|
# Ranges seeded at once (about 0.4 CPU core each). 0: no seeding.
|
|
SEED_CONNECTIONS=4
|
|
# Content inspections and archive walks at once (CPU for decoding and parsing; articles come through the seed API).
|
|
SEED_INSPECTORS=0
|
|
|
|
# Optional: SEED_FETCH=direct seeds with this node's own NNTP account instead of through the seed API.
|
|
# SEED_FETCH=direct
|
|
# NNTP_HOST=news.eweka.nl
|
|
# NNTP_PORT=563
|
|
# NNTP_SECURE=true
|
|
# NNTP_USER=
|
|
# NNTP_PASSWORD=
|
|
# Through a tunnel or proxy: the hostname the server's TLS certificate is for.
|
|
# NNTP_TLS_SERVERNAME=news.eweka.nl
|