Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
yaacovCR committed Jul 25, 2023
1 parent 25ff375 commit 6ddf543
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions src/execution/IncrementalPublisher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -821,12 +821,11 @@ export class StreamItemsRecord {
streamRecord: StreamRecord;
path: Path | undefined;
priority: number;
deferPriority: number;
}) {
this.streamRecord = opts.streamRecord;
this.path = pathToArray(opts.path);
this.priority = opts.priority;
this.deferPriority = opts.deferPriority;
this.deferPriority = 0;
this.children = new Set();
this.errors = [];
this.isCompleted = false;
Expand Down
2 changes: 0 additions & 2 deletions src/execution/execute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1992,7 +1992,6 @@ function executeStreamField(
streamRecord,
path: itemPath,
priority: incrementalDataRecord.priority + 1,
deferPriority: 0,
});
incrementalPublisher.reportNewStreamItemsRecord(
streamItemsRecord,
Expand Down Expand Up @@ -2186,7 +2185,6 @@ async function executeStreamAsyncIterator(
streamRecord,
path: itemPath,
priority: incrementalDataRecord.priority + 1,
deferPriority: 0,
});
incrementalPublisher.reportNewStreamItemsRecord(
streamItemsRecord,
Expand Down

0 comments on commit 6ddf543

Please sign in to comment.