Skip to content

Setting execution timeout with gql-cli #347

Closed
@gonzalezzfelipe

Description

@gonzalezzfelipe

Describe the bug

There is a default execution_timeout on the client, which can't be modified on the CLI. This means that any request that lasts more than 10 seconds that is done using the gql-cli will fail, and there's nothing the user can do about it. It is possible to add the possiblity to modify this timeout using the CLI arguments, but why have the default timeout at all? I don't see any gain imposing a timeout on the users.

Refferences in the code:

System info (please complete the following information):

  • OS: MacOs
  • Python version: 3.10.4
  • gql version: 3.4.0
  • graphql-core version: 3.2.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions