Limit top hunters query to 10

Fixes: #196
This commit is contained in:
Teemu Patja 2017-12-21 11:44:34 +02:00
parent 7453bbfe40
commit 49be307a9d
No known key found for this signature in database
GPG Key ID: F5B7035E6580FD4C
1 changed files with 2 additions and 1 deletions

View File

@ -572,7 +572,8 @@ pr.commit_sha = i.commit_sha
AND u.id = pr.user_id
AND i.payout_receipt IS NOT NULL
GROUP BY u.id
ORDER BY total_usd DESC;
ORDER BY total_usd DESC
LIMIT 10;
-- :name bounties-activity :? :*