mirror of
https://github.com/grafana/grafana.git
synced 2024-12-28 01:41:24 -06:00
Rendering: Fix streaming panels always reaching timeout (#80022)
This commit is contained in:
parent
6c87d9a1e7
commit
31b02a8c9a
@ -460,7 +460,12 @@ export class PanelStateWrapper extends PureComponent<Props, State> {
|
||||
};
|
||||
|
||||
shouldSignalRenderingCompleted(loadingState: LoadingState, pluginMeta: PanelPluginMeta) {
|
||||
return loadingState === LoadingState.Done || loadingState === LoadingState.Error || pluginMeta.skipDataQuery;
|
||||
return (
|
||||
loadingState === LoadingState.Done ||
|
||||
loadingState === LoadingState.Streaming ||
|
||||
loadingState === LoadingState.Error ||
|
||||
pluginMeta.skipDataQuery
|
||||
);
|
||||
}
|
||||
|
||||
skipFirstRender(loadingState: LoadingState) {
|
||||
|
Loading…
Reference in New Issue
Block a user