From f6e067f3017883f1f2650d31eb531e8a8f4d6bd7 Mon Sep 17 00:00:00 2001 From: cdpidan Date: Mon, 28 May 2018 18:00:46 +0800 Subject: [PATCH] =?UTF-8?q?es=20store=20=E7=94=9F=E5=91=BD=E5=91=A8?= =?UTF-8?q?=E6=9C=9F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Abp.ElasticSearch/ElasticSearch/AbpElasticSearchModule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Abp.ElasticSearch/ElasticSearch/AbpElasticSearchModule.cs b/src/Abp.ElasticSearch/ElasticSearch/AbpElasticSearchModule.cs index 3141a2c..e583494 100644 --- a/src/Abp.ElasticSearch/ElasticSearch/AbpElasticSearchModule.cs +++ b/src/Abp.ElasticSearch/ElasticSearch/AbpElasticSearchModule.cs @@ -15,7 +15,7 @@ public override void PreInitialize() if (Configuration.Modules.ElasticSearch()?.UseAuditingLog == true) { - IocManager.RegisterIfNot(); + IocManager.RegisterIfNot(DependencyLifeStyle.Transient); } }