From 46ba61974b88fa75d1bcdad26709f2c3a945051e Mon Sep 17 00:00:00 2001 From: xxyy <cathay_xy@163.com> Date: 星期五, 07 三月 2025 09:43:08 +0800 Subject: [PATCH] 新增 API 方法并实现请求节流机制 --- Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/StackerCrane/Common/CommonStackerStationCrane.cs | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/StackerCrane/Common/CommonStackerStationCrane.cs b/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/StackerCrane/Common/CommonStackerStationCrane.cs index e597ca1..e9b9cf1 100644 --- a/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/StackerCrane/Common/CommonStackerStationCrane.cs +++ b/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/StackerCrane/Common/CommonStackerStationCrane.cs @@ -42,9 +42,16 @@ { #region Private Member - // 甯搁噺 + + /// <summary> + /// 瀹屾垚淇″彿绛夊緟鏃堕棿 + /// </summary> private const int WaitTimeout = 20 * 6000; - private const int ReadTimeout = 1500; + + /// <summary> + /// 瀹屾垚淇″彿璇诲彇棰戠巼 + /// </summary> + private const int ReadTimeout = 100; /// <summary> /// 鍫嗗灈鏈洪�氳瀵硅薄 -- Gitblit v1.9.3