groupLoopCountSuggestion

A suggestion of how many EventLoops the global singleton EventLoopGroups are supposed to consist of.

GlobalSingletons.swift:57
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.

Please note that setting this value is a privileged operation which should be performed very early on in the program’s lifecycle by the main function, or ideally not at all. Furthermore, setting the value will only have an effect if the global singleton EventLoopGroup has not already been used.