opscode/supermarket — pull request #361 by bcobb (2014-05-14 20:25:48+00:00)
Title: Index accounts by UID and Provider

:fork_and_knife:

We query by `uid` and `provider` every time a user authenticates. On my machine, with a database full of imported accounts, adding this index speeds up this query by a factor of 100.