CloudWatch Logs: Add retry strategy for hitting max concurrent queries (#39290)
* Add error passing and retry strategy * Change generic error to specific one * Make the error more generic * Refactor retry strategy * Add retry that handles multiple queries * Rollback some backend changes * Remove simple retry strategy * Add comments * Add tests * Small test fixes * Add log timeout config * Fix tests * Fix tests * Add validation * Remove commented code and add comment * Fix snapshots * Remove unnecessary cast
This commit is contained in:
@@ -114,7 +114,7 @@ export interface FetchErrorDataProps {
|
||||
*
|
||||
* @public
|
||||
*/
|
||||
export interface FetchError<T extends FetchErrorDataProps = any> {
|
||||
export interface FetchError<T = any> {
|
||||
status: number;
|
||||
statusText?: string;
|
||||
data: T;
|
||||
|
||||
Reference in New Issue
Block a user