Skip to content

Commit

Permalink
Merge pull request #2249 from AVVS/fix/perf-issues
Browse files Browse the repository at this point in the history
fix: track aborted status, do not stringify for tracing
  • Loading branch information
murgatroid99 committed Oct 20, 2022
2 parents c84b4f9 + 93de96f commit b364135
Show file tree
Hide file tree
Showing 5 changed files with 496 additions and 388 deletions.
4 changes: 4 additions & 0 deletions packages/grpc-js/src/call-stream.ts
Expand Up @@ -97,6 +97,10 @@ export interface StatusObject {
metadata: Metadata;
}

export type PartialStatusObject = Pick<StatusObject, 'code' | 'details'> & {
metadata: Metadata | null;
}

export const enum WriteFlags {
BufferHint = 1,
NoCompress = 2,
Expand Down

0 comments on commit b364135

Please sign in to comment.