Skip to content

Commit 47aa1d9

Browse files
mgmt, doc, Update THREAD_POOL_AND_CONNECTION_POOL.md (Azure#44783)
1 parent a09c64a commit 47aa1d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk/resourcemanager/docs/THREAD_POOL_AND_CONNECTION_POOL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ singletonHttpClientBuilder
5050
.evictInBackground(Duration.ofSeconds(120)) // Every two minutes, the connection pool is regularly checked for connections that are applicable for removal.
5151
.build());
5252
```
53-
Reference: [Reactor Netty Connection Pool](https://projectreactor.io/docs/netty/release/reference/#_connection_pool_2)
53+
Reference: [Reactor Netty Connection Pool](https://projectreactor.io/docs/netty/release/reference/http-client.html#_connection_pool)
5454

5555
### Configure thread pool for the singleton HttpClient:
5656
By default the Reactor Netty HttpClient uses an "Event Loop Group", where the number of the worker threads equals the number of processors available to the runtime on initialization (but with a minimum value of 4). When you need a different configuration, you can use one of the LoopResource#create methods.
@@ -66,7 +66,7 @@ singletonHttpClientBuilder
6666
.onClient(false))
6767
.build();
6868
```
69-
Reference: [Reactor Netty Event Loop Group](https://projectreactor.io/docs/netty/release/reference/#client-tcp-level-configurations-event-loop-group)
69+
Reference: [Reactor Netty Event Loop Group](https://projectreactor.io/docs/netty/release/reference/http-client.html#_event_loop_group)
7070

7171
### Configure Azure Identity client to use the singleton HttpClient (DefaultAzureCredential for example):
7272
By default, Azure Identity uses `ForkJoinPool.commonPool()` for token acquisition. The pool size equals the number of processors available to the runtime on initialization minus 1 (with a minimum of 1).

0 commit comments

Comments
 (0)