Log slow API requests with server spans and client timing
This commit is contained in:
@@ -77,7 +77,7 @@ func (m *Manager) startAudit(ctx context.Context, projectID string) error {
|
||||
if err != nil || active {
|
||||
return err
|
||||
}
|
||||
head, err := git.BranchHead(project.RepoPath, project.DefaultBranch)
|
||||
head, err := git.BranchHead(ctx, project.RepoPath, project.DefaultBranch)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user