When running a lambda with DOCKER_LAMBDA_STAY_OPEN, each time you invoke the lambda the RemainingTime property decreases as it appears to base the StartTime from the moment you started hosting the lambda, not from the moment you started the execution. Keep it going long enough and you get a negative RemainingTime result.
When running a lambda with DOCKER_LAMBDA_STAY_OPEN, each time you invoke the lambda the RemainingTime property decreases as it appears to base the StartTime from the moment you started hosting the lambda, not from the moment you started the execution. Keep it going long enough and you get a negative RemainingTime result.
Suspect this is to do with MockLambdaContext.cs