mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-03-11 17:33:03 +00:00
Format stuff
This commit is contained in:
@@ -39,7 +39,7 @@ public static class Http
|
||||
ShouldHandle = new PredicateBuilder().Handle<Exception>(IsRetryableException),
|
||||
MaxRetryAttempts = 4,
|
||||
BackoffType = DelayBackoffType.Exponential,
|
||||
Delay = TimeSpan.FromSeconds(1)
|
||||
Delay = TimeSpan.FromSeconds(1),
|
||||
}
|
||||
)
|
||||
.Build();
|
||||
@@ -68,7 +68,7 @@ public static class Http
|
||||
return ValueTask.FromResult<TimeSpan?>(
|
||||
TimeSpan.FromSeconds(Math.Pow(2, args.AttemptNumber) + 1)
|
||||
);
|
||||
}
|
||||
},
|
||||
}
|
||||
)
|
||||
.Build();
|
||||
|
||||
@@ -9,7 +9,7 @@ public static class PathEx
|
||||
{
|
||||
private static readonly HashSet<char> InvalidFileNameChars =
|
||||
[
|
||||
.. Path.GetInvalidFileNameChars()
|
||||
.. Path.GetInvalidFileNameChars(),
|
||||
];
|
||||
|
||||
public static string EscapeFileName(string path)
|
||||
|
||||
Reference in New Issue
Block a user