maintainer_pool

March 26, 2020 Contributors

Name

maintainer_pool — configure mail queues, DNS lookup and module events to use multiple threads

Synopsis

maintainer_pool = "pool_name"

Description

**Configuration Change. ** This option is available as of version 3.6.

Note

In order to use this option you must have a "Supercharger" license. For more information see “Configuring for Multiple Event Loops in Momentum 3.6”.

Changing the value of this option at runtime requires restarting the ecelerity process—issuing the ec_console command config reload will not suffice.

This option is used to create multiple event loops. Set it to the name of an eventloop so that mail queues, DNS lookup and module events use multiple threads. A configuration example follows:

eventloop "maint" {
  concurrency = 5
}

maintainer_pool = "maint"

Set concurrency to a number equal to or less than the number of computer cores.

There is no default value for this option.

Scope

maintainer_pool is valid in the global scope.

See Also

“Configuring for Multiple Event Loops in Momentum 3.6” and eventloop