TSocketHttpServer.MaxWorkerThreads Property
Gets or sets the maximum number of worker threads the server may reach while requests wait for a worker.
Remarks
When 0 (the default), 256 is used, or WorkerThreads when that is higher. Threads above the minimum exit after 30 seconds without work. When handlers block on a limited resource, like a database connection pool, setting this property close to the size of that resource avoids threads waiting in line for it. Takes effect when the server starts.
Syntax
Unit: Sparkle.Socket.Server
property TSocketHttpServer.MaxWorkerThreads: Integer