Open somera opened 1 year ago
errors.Is(err, context.DeadlineExceeded)
or os.IsTimeout(err)
should be handled.
The question is: "Could the stack trace be ignored?"
And if this is an error, what is going wrong here?
c.ctx.Err() != err && // 1. Ignore the context error if the context is cancelled or exceeds the deadline (RunWithContext could return c.ctx.Err() which is Canceled or DeadlineExceeded)
It seems that DeadlineExceeded
is not ignored as expected?
Description
This
error should be fixed in #19006 / #19027
Gitea Version
1.20.3
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
2.41.0
Operating System
20.04.6
How are you running Gitea?
Downloaded gitea-1.20.3-linux-amd64 executable
Database
PostgreSQL