From b5b5478446e42eb3a486186fe1134953b82c4175 Mon Sep 17 00:00:00 2001 From: Basique Evangelist Date: Tue, 5 Feb 2019 22:47:15 +0300 Subject: [PATCH] Update perfusion commit id + fix bug --- JetKarmaBot/Program.cs | 2 +- perfusion | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/JetKarmaBot/Program.cs b/JetKarmaBot/Program.cs index 0e0f5f2..74817e7 100644 --- a/JetKarmaBot/Program.cs +++ b/JetKarmaBot/Program.cs @@ -29,7 +29,7 @@ namespace JetKarmaBot var dbOptions = new DbContextOptionsBuilder() .UseMySql(cfg.ConnectionString); - c.AddSingleton(() => new KarmaContext(dbOptions.Options)); + c.AddTransient(() => new KarmaContext(dbOptions.Options)); c.Add(); var bot = c.GetInstance(); diff --git a/perfusion b/perfusion index 845dbe7..a806f4d 160000 --- a/perfusion +++ b/perfusion @@ -1 +1 @@ -Subproject commit 845dbe77b217962a8ce98be50673aa408b081cda +Subproject commit a806f4d9fb9eb0e3036567304cabe1adf65d476c