Skip to content

Commit

Permalink
Increase trace limit for indexing (#812)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtibshirani authored Sep 4, 2024
1 parent 18fa057 commit 1af15c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/zoekt-sourcegraph-indexserver/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,7 @@ func jitterTicker(d time.Duration, sig ...os.Signal) <-chan struct{} {
// Index starts an index job for repo name at commit.
func (s *Server) Index(args *indexArgs) (state indexState, err error) {
tr := trace.New("index", args.Name)
tr.SetMaxEvents(30) // Ensure we capture all indexing events

defer func() {
if err != nil {
Expand Down

0 comments on commit 1af15c4

Please sign in to comment.