Closed cemoktra closed 5 months ago
This specifically relates to https://github.com/search?q=repo%3Amozilla%2Fcargo-vet%201000000&type=code
I dont know why that changed on sourcegraph, but either removing that number completely or reducing it should help
7000 works, 7500 no
Thanks @cemoktra looking into it.
This now ends in 400 but still not working. The message returned is: query exceeds maximum query cost
@cemoktra @bholley unfortunately, we had to put the visible
limit back. Bots have been abusing the ?visible=1000000
query string which drove up costs and slowed the service down for others.
@jdorfman can you tell the limit? I can prepare an according MR then
@cemoktra 5 e.g. https://sourcegraph.com/crates/openapiv3/-/compare/v1.0.2...v1.0.3?visible=5
No I mean the maximum.
Looks like the new limit is a bit north of 7000. I'll prepare a patch.
Using
?visible=1000000
causes 500 on sourcegraph.com, e.g.:https://sourcegraph.com/crates/openapiv3/-/compare/v1.0.2...v1.0.3?visible=1000000
vs https://sourcegraph.com/crates/openapiv3/-/compare/v1.0.2...v1.0.3