Skip to content

Commit fdec29c

Browse files
author
Suraj Keshri
committed
fix
1 parent ee440d6 commit fdec29c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/wise-geese-jog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"graphql-eventbus-aws-eventbus": patch
3+
---
4+
5+
fix for maximum length subscription name for aws queue

packages/aws-eventbus/src/AWSEventBus.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ export class AWSEventBus {
208208
}`;
209209
}
210210
}
211+
subscriptionName = subscriptionName.slice(0, 80);
211212
const { queueArn, queueUrl } = await this.createQueue(
212213
subscriptionName,
213214
topicArn,

0 commit comments

Comments
 (0)