SchedulerOptions
Options related to scheduled tasks..
schedulerStrategy
property
SchedulerStrategyThe strategy used to execute scheduled tasks. If you are using the DefaultSchedulerPlugin (which is recommended) then this will be set to the DefaultSchedulerStrategy.
tasks
property
ScheduledTask[]The tasks to be executed.
runTasksInWorkerOnly
property
booleanDefault:
trueWhether to run tasks only in the worker process. Generally this should be left as true, since tasks may involve expensive operations that should not be allowed to interfere with the server responsiveness.
This option mainly exists for testing purposes.
Was this chapter helpful?