Skip to content

Commit

Permalink
Always emit insight logs to simplify debugging (#4988)
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantinov-Innokentii authored Nov 6, 2024
1 parent 7501304 commit effaa0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/common/insight_log/insight_logs_enabled_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit effaa0a

Please sign in to comment.