sequelize / website

Our beloved website that contains all versions of our documentations and the API references.
https://sequelize.org
29 stars 155 forks source link

V7-alpha connectionManager.initPools missing #726

Open ghost opened 1 year ago

ghost commented 1 year ago

Issue Creation Checklist

Bug Description

Using V7-alpha the connectionManager no longer has a initPools method to restart the connection pool when using it in an AWS Lambda environment.

Is the way to do this changed in V7? I tried looking through the source but could not find a way to do this with the same behaviour as on V6

Reproducible Example

Here is the link to the SSCCE for this issue:

What do you expect to happen?

What is actually happening?

Environment

Would you be willing to resolve this issue by submitting a Pull Request?


Indicate your interest in the resolution of this issue by adding the 👍 reaction. Comments such as "+1" will be removed.

WikiRik commented 1 year ago

That code has moved to the constructor in sequelize/sequelize#14652. As maintainers we don't have AWS Lambda experience as far as I know so this one is up to the community. Once this is cleared up, feel free to open a PR to update the page