This commit is contained in:
Mayel de Borniol 2024-03-04 22:29:40 +00:00
parent 756b36f768
commit 1db8544952
2 changed files with 13 additions and 3 deletions

View file

@ -233,6 +233,9 @@ config :bonfire, Oban,
end}
]
config :activity_pub, :oban_queues,
retries: [federator_incoming: 2, federator_outgoing: 3, remote_fetcher: 1]
config :activity_pub, Oban,
# to avoid running it twice
queues: false,

View file

@ -890,14 +890,21 @@ sys-deps-debian:
./deps-debian.sh
# to test federation locally you can use `just dev-federate` or `just test-federation-live-DRAGONS`
# and run this in seperate terminal to start the above tunnel: `just tunnel-start`
# and run this in seperate terminal to start the above tunnel: `just tunnel`
tunnel: tunnel-localhost-run
@tunnel-localhost-run:
ssh -R 80:localhost:${SERVER_PORT} localhost.run
# this requires `cargo install tunnelto` (the homebrew version of tunnelto doesn't work)
@tunnel-start-tunnelto:
@tunnel-tunnelto:
echo "Opening tunnel on ${TUNNEL_SUBDOMAIN}.tunnelto.dev"
tunnelto --subdomain $TUNNEL_SUBDOMAIN --port ${SERVER_PORT}
@local-tunnel-hostname:
echo "${TUNNEL_SUBDOMAIN}.tunnelto.dev"
echo ${TUNNEL_DOMAIN}
# echo "${TUNNEL_SUBDOMAIN}.tunnelto.dev"
# just tunnel-pyjamas
@tunnel-pyjamas: