Skip to content

Commit c57d35a

Browse files
committed
fmt
1 parent 301fa3c commit c57d35a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

crates/fuel-core/src/graphql_api/extensions/expensive_op_guard.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,7 @@ impl ExpensiveOpGuard {
131131
};
132132

133133
// Concurrency gate (bulkhead)
134-
let permit = match self
135-
.semaphore
136-
.clone()
137-
.try_acquire_many_owned(permit_count)
138-
{
134+
let permit = match self.semaphore.clone().try_acquire_many_owned(permit_count) {
139135
Ok(p) => p,
140136
Err(_) => {
141137
let mut resp = Response::new(async_graphql::Value::Null);

0 commit comments

Comments
 (0)