Skip to content

Commit

Permalink
refactor(renterd): improve uploads performance
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfreska committed Jan 13, 2025
1 parent 7f6c64a commit 05ea106
Show file tree
Hide file tree
Showing 14 changed files with 344 additions and 157 deletions.
5 changes: 5 additions & 0 deletions .changeset/chilled-days-live.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'renterd': minor
---

The application no longer lags when uploading thousands of files.
5 changes: 5 additions & 0 deletions .changeset/light-ravens-own.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@siafoundation/react-core': minor
---

Added throttle helpers, often useful for mutation callbacks.
3 changes: 2 additions & 1 deletion apps/renterd/contexts/filesManager/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ export type ExplorerMode = 'directory' | 'flat'
export type UploadStatus = 'queued' | 'uploading' | 'processing'

export type ObjectUploadData = ObjectData & {
upload?: MultipartUpload
multipartId?: string
multipartUpload?: MultipartUpload
uploadStatus: UploadStatus
uploadAbort?: () => Promise<void>
uploadFile?: File
Expand Down
Loading

0 comments on commit 05ea106

Please sign in to comment.