Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
digest credential db locks cause 500 error #193
Under load it is possible to get db locked errors from the digest credentials DB. Right now these are not handled and passed up as 500 errors. We should attempt to re-try the DB request a few times when we get such an error. The problem is though that the authentication subsystem does not use deferreds so we would have to block on that or come up with a special exception type we could pass up the call chain to a point where deferreds can be returned and have the deferred loop done there.