···88jobs:
99 test:
1010 runs-on: ubuntu-latest
1111- container: alpine:edge # go1.19 needs > alpine 3.15
1111+ # Pinned to alpine 3.19 to fix go version to 1.21. Remove this once Sourcegraph is on Go 1.22.
1212+ container: alpine:3.19
1213 steps:
1314 - name: checkout
1415 uses: actions/checkout@v3
-8
api.go
···892892 // be set to 1 to find all repositories containing a result.
893893 ShardRepoMaxMatchCount int
894894895895- // Deprecated: this field is not read anymore.
896896- ShardMaxImportantMatch int
897897-898898- // Deprecated: this field is not read anymore.
899899- TotalMaxImportantMatch int
900900-901895 // Abort the search after this much time has passed.
902896 MaxWallTime time.Duration
903897···986980 addInt("ShardMaxMatchCount", s.ShardMaxMatchCount)
987981 addInt("TotalMaxMatchCount", s.TotalMaxMatchCount)
988982 addInt("ShardRepoMaxMatchCount", s.ShardRepoMaxMatchCount)
989989- addInt("ShardMaxImportantMatch", s.ShardMaxImportantMatch)
990990- addInt("TotalMaxImportantMatch", s.TotalMaxImportantMatch)
991983 addInt("MaxDocDisplayCount", s.MaxDocDisplayCount)
992984 addInt("MaxMatchDisplayCount", s.MaxMatchDisplayCount)
993985 addInt("NumContextLines", s.NumContextLines)