Skip to content

Commit

Permalink
es store 生命周期修改
Browse files Browse the repository at this point in the history
  • Loading branch information
cdpidan committed May 28, 2018
1 parent fc35641 commit f6e067f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public override void PreInitialize()

if (Configuration.Modules.ElasticSearch()?.UseAuditingLog == true)
{
IocManager.RegisterIfNot<IAuditingStore, ElasticSearchAuditingStore>();
IocManager.RegisterIfNot<IAuditingStore, ElasticSearchAuditingStore>(DependencyLifeStyle.Transient);
}
}

Expand Down

0 comments on commit f6e067f

Please sign in to comment.