Skip to content

Commit 4fc03ca

Browse files
committed
Removed incorrect timeout callback reference
1 parent c1b29a2 commit 4fc03ca

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
2 Bytes
Binary file not shown.

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1167,7 +1167,7 @@ exports.handler = function(event, context) {
11671167
// second and then retry
11681168
var timeout = common.randomInt(0, 1000);
11691169
console.log(provisionedThroughputExceeded + " while accessing " + configTable + ". Retrying in " + timeout + " ms");
1170-
setTimeout(callback(), timeout);
1170+
setTimeout(callback, timeout);
11711171
} else {
11721172
// some other error - call the error
11731173
// callback

0 commit comments

Comments
 (0)