Log information and add delay in ChineseNfoRegistry.GetTmdbTv() method
Some checks failed
Docker Build & Deploy / Build Docker Image (push) Failing after 17s
Docker Build & Deploy / Deploy to Production (push) Has been skipped

This commit is contained in:
孙诚
2025-04-03 16:44:47 +08:00
parent 9981dfa211
commit 4dbdf69c25

View File

@@ -197,6 +197,9 @@ public class ChineseNfoRegistry : Registry, IChineseNfoRegistry
record.Json = str; record.Json = str;
_freeSql.Insert(record); _freeSql.Insert(record);
_logger.LogInformation("ChineseNfoRegistry.GetTmdbTv() 接口调用, 休眠 5S");
await Task.Delay(5000);
return json; return json;
} }
catch (Exception e) catch (Exception e)