a3a03a5a80
The seeding weight would slow down the query quite a bit, so let’s move it into a procedure and add an index onto the torrents table that caches the result. Baba’s first pl/SQL function! Change-Id: I3bc6919b115c02b9c9aa74702fac0a8bbc66d2c1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11674 Autosubmit: Profpatsch <mail@profpatsch.de> Tested-by: BuildkiteCI Reviewed-by: Profpatsch <mail@profpatsch.de> |
||
---|---|---|
.. | ||
services | ||
src | ||
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).