ninjaframework / ninja

Ninja is a full stack web framework for Java. Rock solid, fast and super productive.
http://www.ninjaframework.org
Apache License 2.0
1.91k stars 521 forks source link

Can configure Scheduler execution thread pool size #742

Closed thibaultmeyer closed 9 months ago

thibaultmeyer commented 2 years ago

By default, scheduled tasks run on a single thread, which may be sufficient in most cases. However, sometimes we need to run several tasks at the same time or just have the possibility to run a task even if another one is already running.

I keep the value of 1 (single thread) by default to stay compliant with the behavior that was present before the modification.

Resolves: #375