🐛 Proper file upload retries
This commit is contained in:
@@ -28,6 +28,8 @@ public class BroadcastEventHandler(
|
||||
private static readonly string[] AnimatedImageExtensions =
|
||||
[".gif", ".apng", ".avif"];
|
||||
|
||||
|
||||
|
||||
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
|
||||
{
|
||||
var js = nats.CreateJetStreamContext();
|
||||
|
@@ -346,7 +346,7 @@ public class FileService(
|
||||
if (selfDestruct) File.Delete(filePath);
|
||||
}
|
||||
|
||||
public async Task UploadFileToRemoteAsync(
|
||||
private async Task UploadFileToRemoteAsync(
|
||||
string storageId,
|
||||
Guid targetRemote,
|
||||
Stream stream,
|
||||
|
Reference in New Issue
Block a user