Using the 'thread_stack_size' configuration value, the stack size of the worker threads can be adjusted.