From 4dbdf69c2546661fbb406c4f412d627b300d63c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E8=AF=9A?= Date: Thu, 3 Apr 2025 16:44:47 +0800 Subject: [PATCH] Log information and add delay in ChineseNfoRegistry.GetTmdbTv() method --- src/Service/Jobs/ChineseNfoRegistry.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Service/Jobs/ChineseNfoRegistry.cs b/src/Service/Jobs/ChineseNfoRegistry.cs index ecc4782..0688acb 100644 --- a/src/Service/Jobs/ChineseNfoRegistry.cs +++ b/src/Service/Jobs/ChineseNfoRegistry.cs @@ -197,6 +197,9 @@ public class ChineseNfoRegistry : Registry, IChineseNfoRegistry record.Json = str; _freeSql.Insert(record); + _logger.LogInformation("ChineseNfoRegistry.GetTmdbTv() 接口调用, 休眠 5S"); + await Task.Delay(5000); + return json; } catch (Exception e)