Skip to content

Commit

Permalink
Rely on default AsyncKeyedLock pool settings
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkCiliaVincenti authored Aug 26, 2024
1 parent 400b01b commit e3d67ad
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions DiscordChatExporter.Cli.Tests/Infra/ExportWrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,7 @@ namespace DiscordChatExporter.Cli.Tests.Infra;

public static class ExportWrapper
{
private static readonly AsyncKeyedLocker<string> Locker =
new(o =>
{
o.PoolSize = 20;
o.PoolInitialFill = 1;
});
private static readonly AsyncKeyedLocker<string> Locker = new();

private static readonly string DirPath = Path.Combine(
Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)
Expand Down

0 comments on commit e3d67ad

Please sign in to comment.