Remove query limiting for CommitsController
Closes: #20780 (closed)
It seems that some optimizations have been successfully applied to this controller (for example: !18389 (merged)), so removing the query limiting doesn't fail the tests.
Edited by Igor Drozdov