CloudWatch Logs: Adjusts CloudWatch Logs timeout logic (#26621)

* CloudWatch Logs: Adjusts CloudWatch Logs timeout logic

Previously CloudWatch Logs queries would time out if,
after a number of attempts, a response was received with no additional data.
This commit changes the behavior so that a consecutive number of requests
yielding no additional data must be made before we cancel the query
This commit is contained in:
kay delaney
2020-09-07 14:41:36 +01:00
committed by GitHub
parent 58af541321
commit 783391a861
8 changed files with 165 additions and 75 deletions

View File

@@ -13,7 +13,6 @@ const makeError = (propOverrides?: DataQueryError): DataQueryError => {
status: 'Error status',
statusText: 'Error status text',
refId: 'A',
cancelled: false,
};
Object.assign(queryError, propOverrides);
return queryError;