added delay for sqs message (#168)

This commit is contained in:
Arwid Thornström
2024-10-30 14:13:10 +01:00
committed by GitHub
parent 549046096c
commit 6e66c5ed7f
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -231,6 +231,7 @@ export const productMutationTypeDefs = {
await sendMessage(
JSON.stringify({ productId: id, artNo: product.fields.artNo }),
process.env.SAMPLE_SQS_QUEUE_URL,
60 * 10,
);
return product;