Skip to content

Commit

Permalink
fix: readable stream locked (#120)
Browse files Browse the repository at this point in the history
* fix: readable stream locked on retry

* chore: create new readstream when retrying

* fix: don't allow extra concurrency in worker pool

* fix: use availableParallelism instead of cpus to support taskset

* fix: worker pool maxWorkers

* chore: fix unit tests (#121)

* chore: update packages

* fix: destroy zip output file stream

* chore: fix lint

* fix: revert back to cpus to satisfy node 18.5

* fix: don't fire uploads promises all at once (#123)

* fix: await worker promises instead of firing them all off

* fix: max workers should be cpus minus one for main thread

* fix: don't retry max size exceeded errors

* fix: readable stream locked

* fix: update @bugsplat/js-api-client

* fix: make error message last log statement

* fix: use path as tempSubdir
  • Loading branch information
bobbyg603 authored Jun 14, 2024
1 parent d458b7b commit 68c9cf6
Show file tree
Hide file tree
Showing 7 changed files with 853 additions and 297 deletions.
4 changes: 2 additions & 2 deletions bin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ import { CommandLineDefinition, argDefinitions, usageDefinitions } from './comma
user,
password,
clientId,
clientSecret
clientSecret,
});

console.log('Authentication success!');
Expand Down Expand Up @@ -126,8 +126,8 @@ import { CommandLineDefinition, argDefinitions, usageDefinitions } from './comma
await safeRemoveTmp();
process.exit(0);
})().catch(async (error) => {
console.error(error.message);
await safeRemoveTmp();
console.error(error.message);
process.exit(1);
});

Expand Down
Loading

0 comments on commit 68c9cf6

Please sign in to comment.