How does hangire handles thread pool?

How does hangire handles thread pool?how to declare thread pool in hanfire?