Skip to content

Commit 445800f

Browse files
Scoobi-wisdoomBuzzardo
authored andcommitted
Fix documentation on defalut TaskExecutor: ThreadPoolTaskExecutor
1 parent e089507 commit 445800f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ a new bean. Here, the method is named `taskExecutor`, since this is the
135135
{EnableAsyncJavadoc}[specific method name for which Spring searches]. In our case, we want
136136
to limit the number of concurrent threads to two and limit the size of the queue to 500.
137137
There are {Executor}[many more things you can tune]. If you do not define an `Executor`
138-
bean, Spring creates a `SimpleAsyncTaskExecutor` and uses that.
138+
bean, Spring uses `ThreadPoolTaskExecutor`.
139139

140140
There is also a {runner}[`CommandLineRunner`] that injects the `GitHubLookupService` and
141141
calls that service three times to demonstrate the method is executed asynchronously.

0 commit comments

Comments
 (0)