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/CommonStackerCrane.cs | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/StackerCrane/Common/CommonStackerCrane.cs b/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/StackerCrane/Common/CommonStackerCrane.cs index bb6c121..c49543b 100644 --- a/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/StackerCrane/Common/CommonStackerCrane.cs +++ b/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/StackerCrane/Common/CommonStackerCrane.cs @@ -42,9 +42,15 @@ { #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