DEVEL15-windows-service-procs-20080912

LICENSE MIT

if we are going to use hot threads it would be useful if there were
some additional server threads available to become listeners as
needed.


(cherry picked from commit fd55471b57bce441454d7b3c72c7be6a66aad65d)
This commit is contained in:
Jeffrey Altman 2008-09-12 15:41:30 +00:00
parent 324d2de61c
commit 3877be5788

View File

@ -1350,6 +1350,9 @@ int afsd_InitCM(char **reasonP)
*reasonP = "unknown error";
return -1;
}
rx_SetMinProcs(serverp, 2);
rx_SetMaxProcs(serverp, 4);
rx_SetCheckReach(serverp, 1);
nullServerSecurityClassp = rxnull_NewServerSecurityObject();
serverp = rx_NewService(0, RX_STATS_SERVICE_ID, "rpcstats",
@ -1359,6 +1362,8 @@ int afsd_InitCM(char **reasonP)
*reasonP = "unknown error";
return -1;
}
rx_SetMinProcs(serverp, 2);
rx_SetMaxProcs(serverp, 4);
/* start server threads, *not* donating this one to the pool */
rx_StartServer(0);