Closed pohmelie closed 4 years ago
So this seems to connect with (and contradict) the previous discussion in #163. I'm simply not sure what the correct default here is, both solutions seem defective in their own way. Does anyone have a super-strong opinion on this, given the work-around documented above is relatively simple?
Not sure this should be closed, since it still there. I think «correct» default is sqlalchemy default.
Alright, let's give it a shot and see what the critics say ;)
Dataset forces to use
StaticPool
, but this leads to reaching opened file descriptors limit. So after some time you can't accept sockets nor open files. We have case, where our code use hundreds of sqlite db files.Workaround is to use default pool: