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