Static Propertyswift-nio 2.72.0NIOCore
groupLoopCountSuggestion
A suggestion of how many EventLoop
s the global singleton EventLoopGroup
s are supposed to consist of.
static var groupLoopCountSuggestion: Int { get set }
The thread count is coreCount
unless the environment variable NIO_SINGLETON_GROUP_LOOP_COUNT
is set or this value was set manually by the user.
Other members in extension
Type members
static var blockingPoolThreadCountSuggestion: Int
A suggestion of how many threads the global singleton thread pools that can be used for synchronous, blocking functions (such as
NIOThreadPool
) are supposed to consist ofstatic var singletonsEnabledSuggestion: Bool
A suggestion for whether the global singletons should be enabled. This is
true
unless changed by the user.