code-dot-org/dashboard — pull request #756 by wjordan (2014-05-31 01:25:10+00:00)
Title: optimization: only update user trophies on activities that pass level

this optimization reduces response time on milestone POSTs (transaction with most time spent on our production servers) by 1/3rd in local tests
@laurelfan please review (and/or suggest tests/improvements).