mirror of
https://github.com/grafana/grafana.git
synced 2025-09-21 18:53:06 +08:00
use default min interval of 1m for sql datasources
This commit is contained in:
@ -17,7 +17,7 @@ export class PostgresDatasource {
|
||||
this.jsonData = instanceSettings.jsonData;
|
||||
this.responseParser = new ResponseParser(this.$q);
|
||||
this.queryModel = new PostgresQuery({});
|
||||
this.interval = (instanceSettings.jsonData || {}).timeInterval;
|
||||
this.interval = (instanceSettings.jsonData || {}).timeInterval || '1m';
|
||||
}
|
||||
|
||||
interpolateVariable = (value, variable) => {
|
||||
|
Reference in New Issue
Block a user