Skip to content

Error: "Executor doesn't accept tasks" #7

@jimmyff

Description

@jimmyff

Hi, I'm seeing periodic errors in my logs: Executor doesn't accept tasks.. Looking through the code it looks like this happens when the database is in closing state.

I'm wondering if I', using pgpool incorrectly which is why I'm seeing this error. I'm using this package in a number of cloud functions (not on production yet so just test traffic). At the start of each cloud function a new instance of PgPool is created, the body of the cloud function happens in a try/catch block and then .close() is called in the finally block on the pgpool instance.

Does it sound like I've implemented this package correctly and if so is there any reason I'd be running in to this error?

Thanks

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