userver: engine::TaskProcessorPoolsConfig Struct Reference
Loading...
Searching...
No Matches
engine::TaskProcessorPoolsConfig Struct Referencefinal

#include <userver/engine/run_standalone.hpp>

Detailed Description

A lightweight TaskProcessor config for engine::RunStandalone.

Definition at line 16 of file run_standalone.hpp.

Public Attributes

std::size_t initial_coro_pool_size = 10
 
std::size_t max_coro_pool_size = 100
 
std::size_t coro_stack_size = 256 * 1024ULL
 
std::size_t ev_threads_num = 1
 
std::string ev_thread_name = "ev"
 
bool ev_default_loop_disabled = false
 

Member Data Documentation

◆ coro_stack_size

std::size_t engine::TaskProcessorPoolsConfig::coro_stack_size = 256 * 1024ULL

Definition at line 19 of file run_standalone.hpp.

◆ ev_default_loop_disabled

bool engine::TaskProcessorPoolsConfig::ev_default_loop_disabled = false

Definition at line 22 of file run_standalone.hpp.

◆ ev_thread_name

std::string engine::TaskProcessorPoolsConfig::ev_thread_name = "ev"

Definition at line 21 of file run_standalone.hpp.

◆ ev_threads_num

std::size_t engine::TaskProcessorPoolsConfig::ev_threads_num = 1

Definition at line 20 of file run_standalone.hpp.

◆ initial_coro_pool_size

std::size_t engine::TaskProcessorPoolsConfig::initial_coro_pool_size = 10

Definition at line 17 of file run_standalone.hpp.

◆ max_coro_pool_size

std::size_t engine::TaskProcessorPoolsConfig::max_coro_pool_size = 100

Definition at line 18 of file run_standalone.hpp.


The documentation for this struct was generated from the following file: