Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #613 -- Lock single row instead of full user table
Some databases showed poor performance locking the whole user table, especially on considerable table sizes. To mitigate this issue, we changed to locking only a single users' row. The current hijacker will be locked, until the transaction is completed. The transaction wraps the entire request. Thanks, @vinodpandey, for reporting the issue and providing a patch.
- Loading branch information