Improve the user experience for fetching commits from slower endpoints

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

For fetching a large number of commits we see that some GRPC calls can take as long as > 20 seconds https://gitlab.com/dankm/freebsd-ports/commits/master/databases/php73-odbc/Makefile.

Where this does not always result in a 502 on the user I think it would be a much better experience to fail faster and offer an alternative, similar to what GitHub does https://github.com/freebsd/freebsd-ports/commits/master/databases/php73-odbc/Makefile

related to customer issue https://gitlab.com/gitlab-org/gitlab-ce/issues/64920

Edited by 🤖 GitLab Bot 🤖