Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: return a throttled response if org is being synced for the first…
… time during auth (#5374) Related to grafana/oncall-private#2826 When Terraform triggers multiple requests and org needs to be synced in OnCall, the first request will wait for sync to complete but others will get an immediate response, before a 403, with these changes a 429 indicating to retry (Terraform [client](https://github.com/grafana/amixr-api-go-client/blob/main/client.go#L310) will handle the response and perform a retry).
- Loading branch information