Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .autover/changes/6c77f6f7-8750-4b71-a4bd-8976d6b5fc1e.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"Projects": [
{
"Name": "Amazon.Lambda.TestTool",
"Type": "Patch",
"ChangelogMessages": [
"Fix issue with long debugging sessions causing events to be retried"
]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,13 @@ private IAmazonLambda CreateClient(string endpoint)
{
var config = new AmazonLambdaConfig
{
ServiceURL = endpoint
ServiceURL = endpoint,

// Turn of retries since the calls we are making are locally and we don't want retry happening while waiting for debugging.
MaxErrorRetry = 0,

// Set to infinite to allow debugging without timeouts causing retrigger of events
Timeout = Timeout.InfiniteTimeSpan
};
return new AmazonLambdaClient(
new Amazon.Runtime.BasicAWSCredentials("accessKey", "secretKey"),
Expand Down