strapi icon indicating copy to clipboard operation
strapi copied to clipboard

fix: use nativeconnection for mysql getinformation

Open innerdvations opened this issue 1 year ago • 0 comments

What does it do?

  • warn on known errors
  • bubble up unknown errors instead of suppressing them
  • pass nativeconnection to getInformation to be reused...

Why is it needed?

  • ...so that each raw query doesn't create a new connection, causing an infinite loop that overflows the pool

How to test it?

the v5 docid migrations should now work

Related issue(s)/PR(s)

Let us know if this is related to any issue/pull request

innerdvations avatar Feb 16 '24 12:02 innerdvations