소스 검색

取消测试队列

lcl 2 달 전
부모
커밋
31dbe3b0e6
2개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 1
      Startup.cs
  2. 3 3
      Util/Queue/PosPushHelper.cs

+ 1 - 1
Startup.cs

@@ -61,7 +61,7 @@ namespace MySystem
 
             MySystemLib.SystemPublicFuction.appcheck = "success";
             RedisDbconn.csredis = new CSRedis.CSRedisClient(Configuration["Setting:RedisConnStr"]);
-            RedisDbconnTest.csredis = new CSRedis.CSRedisClient(Configuration["Setting:RedisConnStrTest"]);
+            // RedisDbconnTest.csredis = new CSRedis.CSRedisClient(Configuration["Setting:RedisConnStrTest"]);
         }
 
         // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.

+ 3 - 3
Util/Queue/PosPushHelper.cs

@@ -51,9 +51,9 @@ namespace MySystem
 
         public void StartTest()//启动
         {
-            Thread thread = new Thread(threadStartTest);
-            thread.IsBackground = true;
-            thread.Start();
+            // Thread thread = new Thread(threadStartTest);
+            // thread.IsBackground = true;
+            // thread.Start();
         }
 
         private void threadStartTest()