Report CloudDrop direct upload progress and stop when the server ends an upload
The lease client reports progress every five seconds, stops with a clear message when the upload was closed on the server and falls back to the server path when no direct target is available before anything was sent. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
953501df10
commit
456346d5ee
3 files changed
+44
-2
No files matched your search
@@ -157,6 +157,7 @@ class ClouddropUploader {
|
||||
leaseAvailability.set(this._leaseCacheKey(), { enabled: false, until: this.now() + LEASE_DISABLED_CACHE_MS });
|
||||
return null;
|
||||
}
|
||||
if (error && error.leaseFallback) return null;
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user