|
|
@@ -14,6 +14,7 @@ using System.Net;
|
|
|
using System.Net.Sockets;
|
|
|
using Task;
|
|
|
|
|
|
+ThreadPool.SetMinThreads(200, 200);
|
|
|
var builder = WebApplication.CreateBuilder(args);
|
|
|
|
|
|
// Add services to the container.
|
|
|
@@ -127,7 +128,7 @@ app.MapControllers();
|
|
|
|
|
|
app.Urls.Add("http://*:8005");
|
|
|
|
|
|
-RabbitMQClient.Instance.Conn("MakeSqlQueue");
|
|
|
-MakeHelper.Instance.Start("MakeSqlCallBackQueue");
|
|
|
+// RabbitMQClient.Instance.Conn("MakeSqlQueue");
|
|
|
+// MakeHelper.Instance.Start("MakeSqlCallBackQueue");
|
|
|
|
|
|
app.Run();
|