framework icon indicating copy to clipboard operation
framework copied to clipboard

tp5.1 批量处理数据的时候提示[1040] Too many connections

Open ideaviewes opened this issue 4 years ago • 0 comments

是这样循环批处理的 image 用的方法都是DB:table这个方法 我看了model的saveall的源码 image 也是一条一条更新的 请问这种场景,要怎么解决呢? 没有办法公用一个数据库链接吗?

ideaviewes avatar Sep 16 '21 15:09 ideaviewes