8base yaml timeout parameter?

The latest email states:

Possibility to configure custom functions timeout parameter through .yaml file. Our developers were getting frustrated with the 20 second custom function timeout. Now they can specify a timeout parameter for their custom functions, up to 900 seconds!

But I can’t find any documentation or reference anywhere else to this new parameter… is it timeout?

Hello!

Just define it in seconds in 8base.yml:

functions:
  resolver:
    type: resolver
    handler:
      code: src/resolvers/resolver/handler.ts
    schema: src/resolvers/resolver/schema.graphql
settings: 
  timeout: 300 # Valid values are between 1 and 900 seconds

We’ll definitely update our documentation.

Lada Kokotova | Technical support Engineer

1 Like