diff options
author | Yorhel <git@yorhel.nl> | 2021-08-06 16:40:17 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2021-08-06 16:40:19 +0200 |
commit | f9413f6a4d51623a2093871eefd63a083bbe61f3 (patch) | |
tree | 6339578a2d1c9854f0fa8c5cbcda244ab29ebac6 /lib/VNWeb | |
parent | 8039b1cebe3abb30f17ddb3f44ab3323cef08afd (diff) |
VN::Page: Reduce speed adjustment factor to 25%
50% may have been a bit too strong.
Diffstat (limited to 'lib/VNWeb')
-rw-r--r-- | lib/VNWeb/VN/Page.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNWeb/VN/Page.pm b/lib/VNWeb/VN/Page.pm index ccc986f0..4377d777 100644 --- a/lib/VNWeb/VN/Page.pm +++ b/lib/VNWeb/VN/Page.pm @@ -161,7 +161,7 @@ sub infobox_length_ { my $stats = tuwf->dbRowi(' SELECT count(*) as count - , percentile_cont(0.5) WITHIN GROUP (ORDER BY l.length + (l.length/2 * (l.speed-1))) AS median + , percentile_cont(0.5) WITHIN GROUP (ORDER BY l.length + (l.length/4 * (l.speed-1))) AS median FROM vn_length_votes l LEFT JOIN users u ON u.id = l.uid WHERE u.perm_lengthvote IS DISTINCT FROM false AND l.vid =', \$v->{id}); |