Skip to content

Increase timeout for adding a project after accepting an invite? #1010

@achou11

Description

@achou11

Currently there are a couple of hardcoded timeouts that are used for determining how long we're willing to wait for the steps after an invite is accepted to complete.

As noted in some early testing on mobile that I've done (digidem/comapeo-mobile#1080 (comment)), I'm consistently running into the timeout related to adding a project (on my Pixel 2): [TimeoutError: Timed out adding project]

Of course the best solution would be to identify why it takes so long to begin with. However, given the various factors that could affect this, I'm wondering if it would be helpful to expose a timeout option for the InviteApi.accept() method so that the consuming application can have some flexibility for configuring it based on context. EDIT: after discussion, we concluded that it would be preferred to decide on a more generous timeout that's still hardcoded in core.

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