Skip to content

Lambda Invocation times out after 60 s #22

Description

@denis-singh

Hi,
We have some lambda's that run for more than 60s. Is it possible to remove the "60000" that has been hardcoded into the lambda invoke function and get it to use the "aws_conn_keepalive" variable when a new lambda service is created?

-- actionName, arguments, path, http_method, useSSL, timeout, contentType
    local ok, code, headers, status, body = self:performAction("Invoke", payload, path, "POST", true, 60000, "application/x-amz-json-1.1", extra_headers)

    if (code == ngx.HTTP_OK and body ~= nil) then
        return {}, code, headers, status, body
    end
    return nil, code, headers, status, body
end

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions