Closed physikerwelt closed 6 months ago
In Wikidata Query Service, we control the query timeouts via the X-BIGDATA-MAX-QUERY-MILLIS
HTTP header.
See https://github.com/wikimedia/operations-puppet/blob/production/modules/query_service/templates/nginx.erb#L221 for our implementation. We use an nginx reverse proxy in front of Blazegraph to set this header.
https://github.com/blazegraph/database/wiki/REST_API#query has some documentation as well.
@gehel, thank you very much. That was extremely helpful.
inspired by https://stackoverflow.com/a/52434226 which passes the blazegraph options directly according to
https://github.com/wikimedia/wikidata-query-rdf/blob/0922c4c4dead1e4937f3c3b4afeb89eb79bd808d/dist/src/script/runBlazegraph.sh#L144