🐛 Purge cache of a cloud file after uploaded
This commit is contained in:
parent
1307114b76
commit
28ba9871bf
@ -240,6 +240,7 @@ public class FileService(
|
|||||||
|
|
||||||
await stream.DisposeAsync();
|
await stream.DisposeAsync();
|
||||||
await store.DeleteFileAsync(file.Id, CancellationToken.None);
|
await store.DeleteFileAsync(file.Id, CancellationToken.None);
|
||||||
|
await nfs._PurgeCacheAsync(file.Id);
|
||||||
});
|
});
|
||||||
|
|
||||||
return file;
|
return file;
|
||||||
|
@ -10,7 +10,7 @@ using tusdotnet.Models.Configuration;
|
|||||||
|
|
||||||
namespace DysonNetwork.Sphere.Storage;
|
namespace DysonNetwork.Sphere.Storage;
|
||||||
|
|
||||||
public class TusService
|
public abstract class TusService
|
||||||
{
|
{
|
||||||
public static DefaultTusConfiguration BuildConfiguration(ITusStore store) => new()
|
public static DefaultTusConfiguration BuildConfiguration(ITusStore store) => new()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user