Skip to content

Commit 27a58e5

Browse files
Write schema publish artifacts in parallel (#8196)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 2ddad42 commit 27a58e5

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.changeset/stale-pens-sleep.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'hive': patch
3+
---
4+
5+
Write s3 schema artifacts in parallel on schema publish. Previously, the subgraph SDLs would be written first and then the composite schema SDL would be written.

packages/services/api/src/modules/schema/providers/schema-publisher.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3254,7 +3254,7 @@ export class SchemaPublisher {
32543254

32553255
const publishCompositeSchema = async () => {
32563256
await Promise.all([
3257-
await this.artifactStorageWriter.writeArtifact({
3257+
this.artifactStorageWriter.writeArtifact({
32583258
targetId: target.id,
32593259
artifactType: 'services',
32603260
artifact: schemas.map(s => ({

0 commit comments

Comments
 (0)