Bump version, update docs

This commit is contained in:
asonix 2023-06-23 15:15:27 -05:00
parent 346664396c
commit 7a00229508
5 changed files with 8 additions and 8 deletions

2
Cargo.lock generated
View file

@ -376,7 +376,7 @@ checksum = "9c7d0618f0e0b7e8ff11427422b64564d5fb0be1940354bfe2e0529b18a9d9b8"
[[package]] [[package]]
name = "ap-relay" name = "ap-relay"
version = "0.3.84" version = "0.3.85"
dependencies = [ dependencies = [
"activitystreams", "activitystreams",
"activitystreams-ext", "activitystreams-ext",

View file

@ -1,7 +1,7 @@
[package] [package]
name = "ap-relay" name = "ap-relay"
description = "A simple activitypub relay" description = "A simple activitypub relay"
version = "0.3.84" version = "0.3.85"
authors = ["asonix <asonix@asonix.dog>"] authors = ["asonix <asonix@asonix.dog>"]
license = "AGPL-3.0" license = "AGPL-3.0"
readme = "README.md" readme = "README.md"

View file

@ -10,7 +10,7 @@ $ sudo docker run --rm -it \
-e ADDR=0.0.0.0 \ -e ADDR=0.0.0.0 \
-e SLED_PATH=/mnt/sled/db-0.34 \ -e SLED_PATH=/mnt/sled/db-0.34 \
-p 8080:8080 \ -p 8080:8080 \
asonix/relay:0.3.84 asonix/relay:0.3.85
``` ```
This will launch the relay with the database stored in "./sled/db-0.34" and listening on port 8080 This will launch the relay with the database stored in "./sled/db-0.34" and listening on port 8080
#### Cargo #### Cargo
@ -157,9 +157,9 @@ Optional - Address to bind to for serving the prometheus scrape endpoint
Optional - Port to bind to for serving the prometheus scrape endpoint Optional - Port to bind to for serving the prometheus scrape endpoint
##### `CLIENT_POOL_SIZE` ##### `CLIENT_POOL_SIZE`
Optional - How many connections the relay should maintain per thread. This value will be multiplied Optional - How many connections the relay should maintain per thread. This value will be multiplied
by two times the number of cores available to the relay. This defaults to 20, so a 4-core machine by the number of cores available to the relay. This defaults to 20, so a 4-core machine will have a
will have a maximum of 160 simultaneous outbound connections. If you run into problems related to maximum of 160 simultaneous outbound connections. If you run into problems related to "Too many open
"Too many open files", you can either decrease this number or increase the ulimit for your system. files", you can either decrease this number or increase the ulimit for your system.
### Subscribing ### Subscribing
Mastodon admins can subscribe to this relay by adding the `/inbox` route to their relay settings. Mastodon admins can subscribe to this relay by adding the `/inbox` route to their relay settings.

View file

@ -2,7 +2,7 @@ version: '3.3'
services: services:
relay: relay:
image: asonix/relay:0.3.84 image: asonix/relay:0.3.85
ports: ports:
- "8079:8079" - "8079:8079"
restart: always restart: always

View file

@ -6,7 +6,7 @@
rustPlatform.buildRustPackage { rustPlatform.buildRustPackage {
pname = "relay"; pname = "relay";
version = "0.3.84"; version = "0.3.85";
src = ./.; src = ./.;
cargoLock.lockFile = ./Cargo.lock; cargoLock.lockFile = ./Cargo.lock;