Skip to content

Failed to execute 'setTimeout' on 'ServiceWorkerGlobalScope': parameter 3 is not of type 'Array'. On cloudflare workers. #1088

@eduardo-santos-carvalho

Description

@eduardo-santos-carvalho

I've been getting this error when using the lib in the Cloudflare worker environment for the past few days.

I noticed this after upgrading from 3.4.5 to 3.4.7.

When debugging, I found that this occurs in the reconnect, timer and end functions in the postgres/cf folder.

I found this settimeout in the connect.js and index.js files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions