Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1b9d469

Browse filesBrowse files
committed
Default to 60 seconds for lambda timeout
1 parent ba287cf commit 1b9d469
Copy full SHA for 1b9d469

File tree

Expand file treeCollapse file tree

3 files changed

+4
-4
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

3 files changed

+4
-4
lines changed
Open diff view settings
Collapse file

‎bin/node-lambda‎

Copy file name to clipboardExpand all lines: bin/node-lambda
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ var AWS_HANDLER = process.env.AWS_HANDLER || 'index.handler';
1616
var AWS_MODE = 'event';
1717
var AWS_ROLE = process.env.AWS_ROLE || 'missing';
1818
var AWS_MEMORY_SIZE = process.env.AWS_MEMORY_SIZE || 128;
19-
var AWS_TIMEOUT = process.env.AWS_TIMEOUT || 3;
19+
var AWS_TIMEOUT = process.env.AWS_TIMEOUT || 60;
2020
var AWS_DESCRIPTION = process.env.AWS_DESCRIPTION || '';
2121
var AWS_RUNTIME = process.env.AWS_RUNTIME || 'nodejs';
2222
var AWS_FUNCTION_VERSION = process.env.AWS_FUNCTION_VERSION || packageJson.version;
Collapse file

‎package.json‎

Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-lambda",
3-
"version": "0.3.13",
3+
"version": "0.3.14",
44
"description": "Command line tool for locally running and remotely deploying your node.js applications to Amazon Lambda.",
55
"main": "lib/main.js",
66
"directories": {
Collapse file

‎test/main.js‎

Copy file name to clipboardExpand all lines: test/main.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ describe('node-lambda', function() {
3636
});
3737

3838
it('version should be set', function() {
39-
assert.equal(lambda.version, '0.3.13');
39+
assert.equal(lambda.version, '0.3.14');
4040
});
4141

4242
describe('_params', function() {
@@ -87,7 +87,7 @@ describe('node-lambda', function() {
8787
});
8888

8989
it('_npm adds node_modules', function(done) {
90-
this.timeout(5000); // give it time to build the node modules
90+
this.timeout(10000); // give it time to build the node modules
9191

9292
lambda._npmInstall(program, codeDirectory, function(err, result) {
9393
var contents = fs.readdirSync(codeDirectory);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.