Ниже приведены выходные данные
Код: Выделить всё
├─node─┬─bash───dotnet─┬─TestGRPC───25*[{TestGRPC}]
│ │ │ └─16*[{dotnet}]
│ │ ├─2*[bash───htop]
│ │ ├─bash───pstree
│ │ └─14*[{node}]
Код: Выделить всё
bool isMin = ThreadPool.SetMinThreads(1, 1);
bool isMax = ThreadPool.SetMaxThreads(4, 4);
builder.WebHost.ConfigureKestrel(serverOptions =\>
{
serverOptions.Limits.MaxConcurrentConnections= 1;
});
Код: Выделить всё
├─node───12*[{node}]
│ ├─node─┬─bash───dotnet─┬─TestGRPC───26*[{TestGRPC}]
│ │ │ └─23*[{dotnet}]
│ │ ├─2*[bash───htop]
│ │ ├─bash───pstree
│ │ └─14*[{node}]
Подробнее здесь: https://stackoverflow.com/questions/790 ... e-in-the-a
Мобильная версия