Singleton optimization Job compatibility

This commit is contained in:
sunkaixuan
2023-12-21 19:10:38 +08:00
parent cb45cd54b8
commit e457eb4fd9
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ namespace SqlSugar
var isAsync = UtilMethods.IsAnyAsyncMethod(methods);
if (methods.Length>=0)
{
foreach (var method in methods.Take(25))
foreach (var method in methods.Take(35))
{
var refType = method.GetMethod()?.ReflectedType;
if (refType != null)

View File

@@ -96,7 +96,7 @@ namespace SqlSugar
}
if (frames.Length >= 0)
{
foreach (var method in frames.Take(15))
foreach (var method in frames.Take(35))
{
var refType = method.GetMethod()?.ReflectedType;
if (refType != null)