Kestrel cold start even if KeepAliveTimeout is configured

C

Chengappa Prajwal

im running a .net 7 project and when running kestrel locally the first invocation to an api endpoint takes approx 2-3 secs and going forward subsequent requests are in milliseconds.I tried configuring serverOptions.Limits.KeepAliveTimeout = TimeSpan.FromMinutes(5);but it does not work, after the default time which i guess is 130 seconds , the api invocation is again 2-3 secs and subsequent ones are in milliseconds

Continue reading...
 
Back
Top Bottom