修改MSK API 批量发送增加 1秒间隔

master
jianghaiqing 5 months ago
parent 4d92c15a9c
commit c759a142a8

@ -28,6 +28,7 @@ using Newtonsoft.Json;
using StackExchange.Profiling.Internal;
using SqlSugar;
using static Aliyun.OSS.Model.InventoryConfigurationModel;
using System.Threading;
namespace Myshipping.Application.Service.BookingOrder
{
@ -1909,6 +1910,8 @@ namespace Myshipping.Application.Service.BookingOrder
failNum++;
}
Thread.Sleep(1000);
});
msgList.Add($"共计{totalNum} 条 成功{succNum}条 失败:{failNum}");

@ -22,6 +22,7 @@ using Yitter.IdGenerator;
using System.Diagnostics;
using Newtonsoft.Json;
using StackExchange.Profiling.Internal;
using System.Threading;
namespace Myshipping.Application.Service.BookingOrder
{
@ -1752,6 +1753,8 @@ namespace Myshipping.Application.Service.BookingOrder
failNum++;
}
Thread.Sleep(1000);
});
msgList.Add($"共计{totalNum} 条 成功{succNum}条 失败:{failNum}");

Loading…
Cancel
Save