Skip to content

Connections don't close #7171

@vixa2012

Description

@vixa2012

Hello everyone. Yesterday I used "sequelize": "~3.24.1", "sequelize-cli": "~2.4.0"
I have script which started by cron each 5 minutes and load some statistics to database.
Each query open new mysql connection and never close it.

2017-01-30 22 41 36

After I saw that bug I downloaded "sequelize": "~4.0.0-2", "sequelize-cli": "~2.5.1"

Now I have new bug.
Count of connection is less then yesterday, but this connections never close too.

On my script finish I make sequelize.close(); but all connections is also open in mysql.

2017-01-31 14 01 23

Please help me, how I can close all connections after script finish?

This is my configuration
2017-01-31 14 03 14

and this is my script
2017-01-31 14 03 46

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