1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-21 22:03:38 +03:00
zeripath 58cd55d353
Check for context exceeded in WalkGitLog (#17319)
There is a slight race in checking of a context deadline exceed in #16467
which leads to a 500 on the repository page.

The solution is to check the error coming back from `*LogNameStatusRepoParser.Next()`
and if it is the `ContextDeadlineExceeded` break from the loop.

Fix #17314

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-10-15 19:41:34 +01:00
..
2021-06-07 07:27:09 +02:00
2020-10-02 23:37:53 -04:00
2021-05-03 13:24:24 -04:00
2021-10-13 14:20:11 -04:00
2021-10-13 22:50:23 -04:00
2020-04-05 07:20:50 +01:00
2021-10-13 22:50:23 -04:00
2021-10-13 22:50:23 -04:00