Log information and add delay in ChineseNfoRegistry.GetTmdbTv() method
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user