Use ExecuteIdentityAsync for record insertion in ChineseNfoRegistry
This commit is contained in:
@@ -195,7 +195,7 @@ public class ChineseNfoRegistry : Registry, IChineseNfoRegistry
|
|||||||
}
|
}
|
||||||
|
|
||||||
record.Json = str;
|
record.Json = str;
|
||||||
_freeSql.Insert(record);
|
await _freeSql.Insert(record).ExecuteIdentityAsync();
|
||||||
|
|
||||||
_logger.LogInformation("ChineseNfoRegistry.GetTmdbTv() 接口调用, 休眠 5S");
|
_logger.LogInformation("ChineseNfoRegistry.GetTmdbTv() 接口调用, 休眠 5S");
|
||||||
await Task.Delay(5000);
|
await Task.Delay(5000);
|
||||||
|
|||||||
Reference in New Issue
Block a user