From 15eb82df2d6ec539e9d4245bfe08d531e8eb6379 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期日, 27 四月 2025 14:33:26 +0800
Subject: [PATCH] 修改培训订单占多个座位
---
zhengcaioa/Crawler/Program.cs | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/zhengcaioa/Crawler/Program.cs b/zhengcaioa/Crawler/Program.cs
index 07fbc6d..8a34395 100644
--- a/zhengcaioa/Crawler/Program.cs
+++ b/zhengcaioa/Crawler/Program.cs
@@ -20,11 +20,11 @@
//public static string connection = @"server=.;database=WebCrawler;uid=sa;pwd=123456;";
//public static string connection1 = @"server=.;database=zhengcaioa;uid=sa;pwd=123456;";
- //public static string api_domain = "http://192.168.0.4:9200";
+ //public static string api_domain = "http://192.168.0.9:9200";
public static string connection = @"server=172.26.97.184;database=WebCrawler;uid=sa;pwd=Za20222812;";
public static string connection1 = @"server=172.26.97.184;database=zhengcaioa;uid=sa;pwd=Za20222812;";
- public static string api_domain = "http://localhost:9200";
+ public static string api_domain = "http://172.26.97.184:9200";
static void Main(string[] args)
{
@@ -144,12 +144,12 @@
thread.Start();
- Thread thread1 = new Thread(new ThreadStart(obj.Method2));
- thread1.Start();
+ //Thread thread1 = new Thread(new ThreadStart(obj.Method2));
+ //thread1.Start();
- Thread thread2 = new Thread(new ThreadStart(obj.Method3));
- thread2.Start();
+ //Thread thread2 = new Thread(new ThreadStart(obj.Method3));
+ //thread2.Start();
Console.WriteLine("Hello World!");
}
@@ -203,7 +203,7 @@
//鑾峰彇涓浗鏀块噰缃戠殑鍥涘窛鏀块噰鏁版嵁
CcgpSichuanoperation.operations(cccontext);
- Thread.CurrentThread.Join(1000 * 60 * 30);//闃绘璁惧畾鏃堕棿
+ Thread.CurrentThread.Join(1000 * 60 * 10);//闃绘璁惧畾鏃堕棿
}
}
--
Gitblit v1.9.1