Skip to content

[BUG] Airtable triggers are getting OOM #15990

@andrewjschuang

Description

@andrewjschuang

Describe the bug
Depending on the number of records (and its contents) being fetched in the Airtable triggers, it can get an OOM error (for example > 150).

This request is to add an optional prop:

    maxRecordsPerExecution: {
      type: "integer",
      label: "Maximum Records Per Execution",
      description: "Set a maximum number of records to fetch per execution if your trigger is failing",
      optional: true,
    }

to the triggers, and it translates to the param maxRecords in the Airtable API:

    const params = {
      ...,
      maxRecords: this.maxRecordsPerExecution,
    }

Not sure if this should be added to the base common file or to each individual trigger code.

Additional context
Reported by a user

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriagedFor maintainers: This issue has been triaged by a Pipedream employee

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions