f49e047588
Instead of serving a stale table when a torrent gets deleted, fetch the whole view again. This is a little wasteful, but torrents shouldn’t get deleted very often, so it’s fine. Change-Id: If33d517270421881852158f27dbc3e7d24880d3b Reviewed-on: https://cl.tvl.fyi/c/depot/+/12333 Reviewed-by: Profpatsch <mail@profpatsch.de> Tested-by: BuildkiteCI |
||
---|---|---|
.. | ||
services | ||
src | ||
.gitignore | ||
build.ninja | ||
default.nix | ||
Main.hs | ||
notes.org | ||
README.md | ||
server-notes.org | ||
whatcd-resolver.cabal |
whatcd-resolver
To run:
ninja run-services
in one terminal (starts the background tasks)
ninja run
to start the server. It runs on 9092
.
You need to be in the nix-shell
in ./..
.
You need to set the pass
key internet/redacted/api-keys/whatcd-resolver
to an API key for RED.
You need to have a transmission-rpc-daemon listening on port 9091
(no auth, try ssh port forwarding lol).