- 
                Notifications
    You must be signed in to change notification settings 
- Fork 494
Closed
Labels
bugThis issue is a bug.This issue is a bug.module/lambda-client-libp2This is a standard priority issueThis is a standard priority issuequeued
Description
Describe the bug
We have a net6.0 Lambda function (512MB Memory) with a timeout set to 2 seconds.
For some reason the timeout value doesn't seem to be respected:
| @message | 
|---|
| Task timed out after 2.53 seconds | 
| Task timed out after 4.00 seconds | 
| Task timed out after 2.54 seconds | 
| Task timed out after 4.00 seconds | 
| Task timed out after 2.54 seconds | 
| Task timed out after 4.00 seconds | 
| Task timed out after 2.52 seconds | 
| Task timed out after 4.00 seconds | 
| Task timed out after 2.54 seconds | 
| Task timed out after 4.00 seconds | 
| Task timed out after 2.53 seconds | 
| Task timed out after 4.00 seconds | 
| Task timed out after 2.53 seconds | 
| Task timed out after 4.00 seconds | 
| Task timed out after 2.58 seconds | 
| Task timed out after 4.00 seconds | 
Expected Behavior
I expected the function to time out after 2 seconds
Current Behavior
Function times out after 4 seconds. Billing is limited to 2 seconds.
Duration: 4003.89 ms Billed Duration: 2000 ms Memory Size: 512 MB Max Memory Used: 512 MB
Reproduction Steps
N/A
Possible Solution
No response
Additional Information/Context
No response
AWS .NET SDK and/or Package version used
Amazon.Lambda.Core Version="1.1.0"
Targeted .NET Platform
NET 6
Operating System and version
.NET 6 (C#/PowerShell)
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.module/lambda-client-libp2This is a standard priority issueThis is a standard priority issuequeued