Skip to content

Commit

Permalink
Update upgrade-to-v8.adoc
Browse files Browse the repository at this point in the history
  • Loading branch information
ujibang authored Jun 3, 2024
1 parent 1fa6008 commit c746d73
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions docs/upgrade-to-v8.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,14 @@ Furthermore, RESTHeart 8 configures Undertow to use its `ThreadAwareByteBufferPo
The following options manage virtual threads:

```yaml
# Specifies the initial number of platform carrier threads used for virtual threads in blocking operations.
# Recommended value: 1.5 * number of cores.
# If <= 0, it defaults to 1.5 times the system core count.
workers-scheduler-parallelism: 0

# Sets the maximum number of platform carrier threads for virtual threads in blocking operations.
workers-scheduler-max-pool-size: 256
core:
# Specifies the initial number of platform carrier threads used for virtual threads in blocking operations.
# Recommended value: 1.5 * number of cores.
# If <= 0, it defaults to 1.5 times the system core count.
workers-scheduler-parallelism: 0

# Sets the maximum number of platform carrier threads for virtual threads in blocking operations.
workers-scheduler-max-pool-size: 256
```

== Cookie Authentication
Expand Down Expand Up @@ -324,4 +325,4 @@ public abstract T parseContent() throws IOException, BadRequestException;

`ServiceRequest.parseContent()` is called by `ServiceRequest.getContent()` on its first invocation. The parsed content is then cached and linked to the request, ensuring that any subsequent calls will reuse the already parsed content object.

This approach makes handling request content more efficient by reducing unnecessary parsing and processing overhead.
This approach makes handling request content more efficient by reducing unnecessary parsing and processing overhead.

0 comments on commit c746d73

Please sign in to comment.