From effaa0a33069565f51f6d6b41d9b263bc0beacbf Mon Sep 17 00:00:00 2001 From: Innokentii Konstantinov Date: Wed, 6 Nov 2024 11:37:23 +0800 Subject: [PATCH] Always emit insight logs to simplify debugging (#4988) --- engine/common/insight_log/insight_logs_enabled_check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/common/insight_log/insight_logs_enabled_check.py b/engine/common/insight_log/insight_logs_enabled_check.py index be24250b5..771b066e6 100644 --- a/engine/common/insight_log/insight_logs_enabled_check.py +++ b/engine/common/insight_log/insight_logs_enabled_check.py @@ -21,4 +21,4 @@ def is_insight_logs_enabled(organization: "Organization") -> bool: f"ONCALL_BACKEND_REGION={settings.ONCALL_BACKEND_REGION} " f"cluster_slug={organization.cluster_slug}" ) - return not settings.IS_OPEN_SOURCE and settings.ONCALL_BACKEND_REGION == organization.cluster_slug + return not settings.IS_OPEN_SOURCE