@grafana/async-query-data
Advanced tools
Comparing version 0.1.6 to 0.1.7
@@ -1,2 +0,2 @@ | ||
import { DataSourceWithBackend, getBackendSrv, toDataQueryResponse } from '@grafana/runtime'; | ||
import { DataSourceWithBackend, config, getBackendSrv, toDataQueryResponse } from '@grafana/runtime'; | ||
import { of, merge } from 'rxjs'; | ||
@@ -120,3 +120,4 @@ import { getRequestLooper } from './requestLooper.js'; | ||
let headers = {}; | ||
if (isRunning(status)) { | ||
const cachingDisabled = !config.featureToggles.useCachingService || !config.featureToggles.awsAsyncQueryCaching; | ||
if (cachingDisabled && isRunning(status)) { | ||
headers = { "X-Cache-Skip": true }; | ||
@@ -123,0 +124,0 @@ } |
@@ -1003,3 +1003,4 @@ 'use strict'; | ||
let headers = {}; | ||
if (isRunning(status)) { | ||
const cachingDisabled = !runtime.config.featureToggles.useCachingService || !runtime.config.featureToggles.awsAsyncQueryCaching; | ||
if (cachingDisabled && isRunning(status)) { | ||
headers = { "X-Cache-Skip": true }; | ||
@@ -1006,0 +1007,0 @@ } |
{ | ||
"name": "@grafana/async-query-data", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "Async query support for Grafana", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
270964
2267