From 73108c90d8576d7e79548781b5208123daeb4097 Mon Sep 17 00:00:00 2001 From: shanji <18996038927@163.com> Date: Sun, 7 Jan 2024 03:14:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=87=8D=E5=A4=8D=E8=AE=A1?= =?UTF-8?q?=E9=87=8F=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BBWY.Server.Business/PlatformSDK/APIExecutionTimesRecorder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BBWY.Server.Business/PlatformSDK/APIExecutionTimesRecorder.cs b/BBWY.Server.Business/PlatformSDK/APIExecutionTimesRecorder.cs index ad04f90e..bb3df73d 100644 --- a/BBWY.Server.Business/PlatformSDK/APIExecutionTimesRecorder.cs +++ b/BBWY.Server.Business/PlatformSDK/APIExecutionTimesRecorder.cs @@ -28,7 +28,7 @@ namespace BBWY.Server.Business public void Flush() { - var currentRoundList = apiDictionary.Select(kv => new { Api = kv.Key, Count = kv.Value }); + var currentRoundList = apiDictionary.Select(kv => new { Api = kv.Key, Count = kv.Value }).ToList(); apiDictionary.Clear(); var currentRoundKeyList = currentRoundList.Select(x => x.Api).ToList(); var today = DateTime.Now.Date;