Skip to content

Request timeout with a Cloud Function that returns large JSON payload #261

Closed
@bourquep

Description

@bourquep

I have a Cloud Function that returns a large JSON payload (~1 meg), and which worked fine until updating to v2.0.7, but now leads to a HTTP request timeout (30s) error.

Reverting commit 36675a9 makes it work again.

Looks like Parse._encode is doing some heavy processing on the JSON payload and is hanging my request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:questionSupport or code-level question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions