diff --git a/aspnet-core/services/host/Lion.AbpPro.HttpApi.Host/Startup.cs b/aspnet-core/services/host/Lion.AbpPro.HttpApi.Host/Startup.cs
index c8e3847f..d6487a25 100644
--- a/aspnet-core/services/host/Lion.AbpPro.HttpApi.Host/Startup.cs
+++ b/aspnet-core/services/host/Lion.AbpPro.HttpApi.Host/Startup.cs
@@ -18,20 +18,6 @@ public void ConfigureServices(IServiceCollection services)
public void Configure(IApplicationBuilder app,IHostApplicationLifetime lifetime)
{
app.InitializeApplication();
- lifetime.ApplicationStopped.Register(ConfigurePreheat);
- }
-
-
- ///
- /// 程序首次访问接口速度慢,事先预热
- ///
- [Obsolete("请使用Lion.AbpPro.Starter模块,实现IAbpProStarterContributor")]
- private void ConfigurePreheat()
- {
- var url = _configuration.GetValue("App:SelfUrl");
- if (url.IsNullOrWhiteSpace()) return;
- var requestUrl = $"{url}/api/abp/application-configuration";
- new HttpClient().GetAsync(requestUrl).Wait();
}
}
}