reasonable jitter
This commit is contained in:
Родитель
d27c813785
Коммит
ae5cbb6f16
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче