You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[TRI-3867] Updating lots of environment variables at once fails with a transaction timeout #1411
When we bulk upsert environment variables we wrap the entire thing in a database transaction. If there are a lot of env vars (e.g. more than 100) then the transaction can timeout.
You can see in the current code that the transaction is wrapped around the for loop:
Instead we should move that transaction inside the for loop. We still need the transaction so we always create all the resources for each env var and don't leave any of them dangling.
changed the title [-]Updating lots of environment variables at once fails with a transaction timeout[/-][+][TRI-3867] Updating lots of environment variables at once fails with a transaction timeout[/+]on Oct 15, 2024
Activity
[-]Updating lots of environment variables at once fails with a transaction timeout[/-][+][TRI-3867] Updating lots of environment variables at once fails with a transaction timeout[/+]yadavshubham01 commentedon Oct 16, 2024
hey @matt-aitken working in this issue
yadavshubham01 commentedon Oct 16, 2024
@matt-aitken Checkout this #1413
58 remaining items