Disable Full RangeLogsVolume

I have been getting timeout in grafana even after I increase timeout to 6000 seconds. But running the query directly on loki returns in few seconds, further googling gave following answer

I keep getting this error in grafana
error="http: proxy error: net/http: timeout awaiting response headers"

Why this is hardcoded? Anybody knows