There was an error while loading. Please reload this page.
1 parent 2b992ab commit 89edb52Copy full SHA for 89edb52
1 file changed
api/src/backend/tasks/jobs/integrations.py
@@ -179,7 +179,7 @@ def get_security_hub_client_from_integration(
179
if the connection was successful and the SecurityHub client or connection object.
180
"""
181
# Get the provider associated with this integration
182
- with rls_transaction(tenant_id):
+ with rls_transaction(tenant_id, using=READ_REPLICA_ALIAS):
183
provider_relationship = integration.integrationproviderrelationship_set.first()
184
if not provider_relationship:
185
return Connection(
0 commit comments