Skip to content

Commit 89edb52

Browse files
committed
chore: improve readability
1 parent 2b992ab commit 89edb52

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/src/backend/tasks/jobs/integrations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def get_security_hub_client_from_integration(
179179
if the connection was successful and the SecurityHub client or connection object.
180180
"""
181181
# Get the provider associated with this integration
182-
with rls_transaction(tenant_id):
182+
with rls_transaction(tenant_id, using=READ_REPLICA_ALIAS):
183183
provider_relationship = integration.integrationproviderrelationship_set.first()
184184
if not provider_relationship:
185185
return Connection(

0 commit comments

Comments
 (0)