mirror of
https://github.com/SigNoz/signoz.git
synced 2026-04-24 21:00:27 +01:00
* fix: add ERR_CANCELED retry skip and new query key constants * refactor: add disabled prop and handleCancelQuery to shared query components (#10959) * refactor: add disabled prop and handleCancelQuery to shared query components * feat: add cancel query support to alert rule editing (#10960) * feat: add cancel query support to alert rule editing * feat: add cancel query support to CreateAlertV2 (#10961) * feat: add cancel query support to CreateAlertV2 * feat: add cancel query and AbortSignal support to MetricsExplorer Explorer (#10962) * feat: add cancel query and AbortSignal support to MetricsExplorer Explorer * feat: add cancel query support to MetricsExplorer Inspect (#10963) * feat: add cancel query support to MetricsExplorer Inspect * feat: add cancel query support to MetricsExplorer Summary (#10964) * feat: add cancel query support to MetricsExplorer Summary * feat: add cancel query support to MeterExplorer and dashboard widgets (#10965) * feat: add cancel query support to MeterExplorer and dashboard widgets * feat: add cancel query support to Logs, Traces, Exceptions and API Monitoring (#10972) * feat: add cancel query support to Logs, Traces, Errors, and API Monitoring * refactor: remove deprecated props and enforce strict query cancel interfaces (#10974) * refactor: remove deprecated props and enforce strict query cancel interfaces * fix: metrics explorer inspect cancel and run query bugs (#10975) * fix: metrics explorer inspect cancel and run query bugs * fix: api monitoring cancel and run query bugs (#10984) * feat: add cancelled query placeholder UI to alerts, explorers, exceptions, and api monitoring (#10988) * feat: add cancel query support to MeterExplorer and dashboard widgets * fix: api monitoring cancel and run query bugs * feat: add cancelled query placeholder UI to alerts, explorers, exceptions, and api monitoring * fix: cancelled placeholder for alert v2 and metrics inspect, use css modules * fix: cancelled placeholder race condition in metrics inspect auto-reset * fix: prioritize cancelled state over loading in metrics inspect content * fix: keep query builder rendered and match graph view height in inspect fallback * feat: add cancelled query placeholder to logs, traces, and dashboard widgets (#11007) * feat: add cancelled query placeholder to logs, traces, and dashboard widgets * fix: reset cancel on run and swap only chart body in widget graph * fix: use constants for max retry count (#11049) * fix: use semantic tokens
9 lines
316 B
TypeScript
9 lines
316 B
TypeScript
/**
|
|
* Maximum number of retries for a failed react-query request before giving up.
|
|
* Used as the upper bound in the default `retry` predicate:
|
|
* `return failureCount < MAX_QUERY_RETRIES;`
|
|
*
|
|
* This retries up to 3 times (4 attempts total including the initial request).
|
|
*/
|
|
export const MAX_QUERY_RETRIES = 3;
|