Skip to content

Commit 6f4977f

Browse files
committed
it doesn't need to be a transaction anymore
1 parent 934a3b7 commit 6f4977f

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

nexus/db-queries/src/db/datastore/scim_provider_store.rs

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1464,16 +1464,7 @@ impl<'a> ProviderStore for CrdbScimProviderStore<'a> {
14641464
let err: OptionalError<ProviderStoreError> = OptionalError::new();
14651465

14661466
let users = self
1467-
.datastore
1468-
.transaction_retry_wrapper("scim_list_users")
1469-
.transaction(&conn, |conn| {
1470-
let err = err.clone();
1471-
let filter = filter.clone();
1472-
1473-
async move {
1474-
self.list_users_with_groups_in_txn(&conn, err, filter).await
1475-
}
1476-
})
1467+
.list_users_with_groups_in_txn(&conn, err.clone(), filter)
14771468
.await
14781469
.map_err(|e| {
14791470
if let Some(e) = err.take() {

0 commit comments

Comments
 (0)