Skip to content

Commit

Permalink
feat: dht-queue (#336)
Browse files Browse the repository at this point in the history
Added persistent dht-queue which will be responsible for publishing cid to dht
  • Loading branch information
BEdev24 authored Sep 10, 2024
1 parent 8f9ce00 commit bf33164
Show file tree
Hide file tree
Showing 11 changed files with 1,055 additions and 47 deletions.
15 changes: 14 additions & 1 deletion ipfs-service/example.env
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,17 @@ LISTEN_QUIC_ADDRESS='/ip4/0.0.0.0/udp/0/quic-v1'
IPFS_PUBLIC_URL='https://ipfs.io/ipfs/'
IPNS_PUBLIC_URL='https://ipfs.io/ipns/'

IPNS_CONSTITUTION_KEY_NAME='some-key-name'
IPNS_CONSTITUTION_KEY_NAME='some-key-name'

# Redis
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=password

## DHT QUEUE ##
# Attempts
DHT_QUEUE_ATTEMPTS=10
# Backoff (exponential, fixed)
DHT_QUEUE_BACKOFF_TYPE=exponential
# Backoff delay (ms)
DHT_QUEUE_BACKOFF_DELAY=1000
Loading

0 comments on commit bf33164

Please sign in to comment.