Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
marcj committed May 9, 2024
1 parent 6c59f9b commit e5aba36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rpc/src/client/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ export class RpcClient extends RpcBaseClient {
return this.transporter.bufferedAmount();
}
});
// Import to disable since transporter.send chunks already,
// Important to disable since transporter.send chunks already,
// otherwise data is chunked twice and protocol breaks.
c.writerOptions.chunkSize = 0;
if (!(c instanceof RpcKernelConnection)) throw new Error('Expected RpcKernelConnection from clientKernel.createConnection');
Expand Down

0 comments on commit e5aba36

Please sign in to comment.