reasonable jitter

pull/178/head
Chet Husk 2022-11-03 16:23:26 -05:00
parent d27c813785
commit ae5cbb6f16
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ namespace Podcast.Infrastructure.Http
{
// Who would do such a thing?!
// TODO fix this horrible perf leak!
await Task.Delay(TimeSpan.FromSeconds(Random.Shared.NextInt64()));
await Task.Delay(TimeSpan.FromSeconds(Random.Shared.NextInt64(1, 11)));
return await base.SendAsync(request, cancellationToken);
}
}