From e1ffba593a8c53bd5623f431b1807bfc30ad5892 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Wed, 5 Nov 2025 15:04:32 +0000 Subject: [PATCH] Remove circuit breaker implementation --- src/App.tsx | 2 -- ...20251105150411_40908458-7fa3-470f-9502-b8968be5ff4f.sql | 7 +++++++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 supabase/migrations/20251105150411_40908458-7fa3-470f-9502-b8968be5ff4f.sql diff --git a/src/App.tsx b/src/App.tsx index c72a6178..82170995 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -18,7 +18,6 @@ import { EntityErrorBoundary } from "@/components/error/EntityErrorBoundary"; import { breadcrumb } from "@/lib/errorBreadcrumbs"; import { handleError } from "@/lib/errorHandler"; import { RetryStatusIndicator } from "@/components/ui/retry-status-indicator"; -import { NetworkStatusBanner } from "@/components/ui/network-status-banner"; // Core routes (eager-loaded for best UX) import Index from "./pages/Index"; @@ -135,7 +134,6 @@ function AppContent(): React.JSX.Element { - diff --git a/supabase/migrations/20251105150411_40908458-7fa3-470f-9502-b8968be5ff4f.sql b/supabase/migrations/20251105150411_40908458-7fa3-470f-9502-b8968be5ff4f.sql new file mode 100644 index 00000000..df954ea8 --- /dev/null +++ b/supabase/migrations/20251105150411_40908458-7fa3-470f-9502-b8968be5ff4f.sql @@ -0,0 +1,7 @@ +-- Remove circuit breaker settings from admin_settings +DELETE FROM admin_settings +WHERE setting_key IN ( + 'circuit_breaker.failure_threshold', + 'circuit_breaker.reset_timeout', + 'circuit_breaker.monitoring_window' +); \ No newline at end of file