Skip to content

Commit

Permalink
fix dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
th0mk committed Jun 14, 2023
1 parent abe57a4 commit 30716f8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/FMBot.Bot/FMBot.Bot.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
<PackageReference Include="Genius.NET" Version="4.0.1" />
<PackageReference Include="Google.Apis" Version="1.60.0" />
<PackageReference Include="Google.Apis.YouTube.v3" Version="1.60.0.2945" />
<PackageReference Include="Hangfire" Version="1.8.2" />
<PackageReference Include="Hangfire.Core" Version="1.8.2" />
<PackageReference Include="Hangfire.MemoryStorage" Version="1.7.0" />
<PackageReference Include="Humanizer.Core" Version="2.14.1" />
Expand Down
5 changes: 0 additions & 5 deletions src/FMBot.Bot/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -217,11 +217,6 @@ private void ConfigureServices(IServiceCollection services)
b.UseNpgsql(this.Configuration["Database:ConnectionString"]));

services.AddMemoryCache();

services.AddHangfire(config =>
{
config.UseMemoryStorage();
});
}

private static void AppUnhandledException(object sender, UnhandledExceptionEventArgs e)
Expand Down

0 comments on commit 30716f8

Please sign in to comment.