mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-13 17:34:15 +01:00
12 lines
No EOL
290 B
C#
12 lines
No EOL
290 B
C#
using System;
|
|
using Microsoft.AspNetCore.SignalR.Client;
|
|
|
|
namespace MareSynchronos.WebAPI.Utils;
|
|
|
|
public class ForeverRetryPolicy : IRetryPolicy
|
|
{
|
|
public TimeSpan? NextRetryDelay(RetryContext retryContext)
|
|
{
|
|
return TimeSpan.FromSeconds(new Random().Next(10, 20));
|
|
}
|
|
} |