Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion distributor-node/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@

- Support for mime-type provided as part of `SubtitleMetadata` (video subtitles). It is now treated as fallback `mime-type` as long as it's a valid `text/*` type and the `file-type` package fails to detect any type from the file signature (magic number),
- **Security:** Sensitive information (like private keys) is now hidden in the node's logs,
- Requesting an asset which has not been accepted by any storage provider yet (`isAccepted == false`) now results in `404: Data object has not been uploaded yet` (previously `500: Failed to download object {id} from any availablable storage provider`),
- Requesting an asset which has not been accepted by any storage provider yet (`isAccepted == false`) now results in `404: Data object has not been uploaded yet` (previously `500: Failed to download object {id} from any available storage provider`),
- Fixed links in CLI docs,
- Autogenerated API client library (`@joystream/distributor-node-client`) is now part of the distributor node codebase.

Expand Down
4 changes: 2 additions & 2 deletions distributor-node/src/services/networking/NetworkingService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ export class NetworkingService {

availabilityQueue.on('end', () => {
if (!objectDownloadQueue.length) {
fail(`Failed to download object ${objectId} from any availablable storage provider`)
fail(`Failed to download object ${objectId} from any available storage provider`)
}
})

Expand All @@ -350,7 +350,7 @@ export class NetworkingService {
if (availabilityQueue.length) {
availabilityQueue.start()
} else {
fail(`Failed to download object ${objectId} from any availablable storage provider`)
fail(`Failed to download object ${objectId} from any available storage provider`)
}
})

Expand Down
Loading