-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Provide properties to set the number of threads of spring TaskScheduler #1397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
When I config as follow:
It, works.
to config:
|
There is no explicit scheduling support in Spring boot if that's what your question is. Are you saying we should provide an easier way to configure the executor service used by |
@snicoll yes, my English is very poor. |
Duplicates #1563. |
snicoll
added a commit
to snicoll/spring-boot
that referenced
this issue
Aug 8, 2018
humaolin
pushed a commit
to humaolin/spring-boot
that referenced
this issue
May 7, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
By default, it use
Executors.newSingleThreadScheduledExecutor()
to create executor, and it only have one thread.But when I config the executor manually:
Exception occurs:
The text was updated successfully, but these errors were encountered: