Quartz.net special special case problem

This commit is contained in:
sunkaixuan 2022-09-29 11:46:33 +08:00
parent d709bb5dc2
commit 153f7180be

View File

@ -20,6 +20,10 @@ namespace SqlSugar
{
SqlSugarClient result = null;
var key = _configs.GetHashCode().ToString();
if (Task.CurrentId != null)
{
key= $"{key}Task";
}
StackTrace st = new StackTrace(true);
var methods = st.GetFrames();
var isAsync = UtilMethods.IsAnyAsyncMethod(methods);