about summary refs log tree commit diff
path: root/users/Profpatsch/whatcd-resolver/src/Redacted.hs
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2024-05-15T12·03+0200
committerclbot <clbot@tvl.fyi>2024-06-03T14·55+0000
commita3a03a5a80209245867704a3b5425d4ae55f7458 (patch)
tree1e902cb18fddd6fe4f3e78bffc69b056e243f06c /users/Profpatsch/whatcd-resolver/src/Redacted.hs
parent2ac89bb48073899d8e94f2d5dd949c877992c656 (diff)
fix(users/Profpatsch/whatcd-resolver): index seeding_weight calc r/8199
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>
Diffstat (limited to 'users/Profpatsch/whatcd-resolver/src/Redacted.hs')
0 files changed, 0 insertions, 0 deletions