Skip to content

Commit c0849b6

Browse files
committed
docs(README, package.json, src): add credits for inspiration and contributors
1 parent 13e3059 commit c0849b6

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
A lightweight Serverless Framework plugin that adds support for setting API Gateway integration timeouts directly in HTTP events.
44

5+
> This plugin was inspired by [serverless/serverless#12800](https://github.com/serverless/serverless/issues/12800#issuecomment-2357708720) and the solution provided by [johan1252](https://github.com/johan1252) and other contributors.
6+
57
## Problem
68

79
By default, Amazon API Gateway has an integration timeout limit of 29 seconds (29,000 milliseconds). This can be too short for more complex or resource-intensive operations.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
"llm"
1717
],
1818
"author": "",
19+
"contributors": [
20+
"johan1252 (https://github.com/johan1252)"
21+
],
1922
"license": "MIT",
2023
"dependencies": {},
2124
"peerDependencies": {

src/updateAPIGatewayIntegrationTimeout.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
'use strict';
22

3+
/**
4+
* Serverless API Gateway Integration Timeout Plugin
5+
* Based on the solution provided by johan1252 in GitHub issue:
6+
* https://github.com/serverless/serverless/issues/12800#issuecomment-2357708720
7+
*/
8+
39
const assert = require("node:assert");
410
const Klass = require("serverless/lib/plugins/aws/package/compile/events/api-gateway");
511

0 commit comments

Comments
 (0)