#1 2019-05-27 16:25:33

EMartin
Member
From: Buenos Aires - Argentina
Registered: 2013-01-09
Posts: 332

Expired database connections not destroyed quickly

Hi @ab, I created a pull request https://github.com/synopse/mORMot/pull/ … -282564854. I found a problem when creating connections and the cause is that the expired connections are not destroyed quicly. I need create many connections because I need drop tables and this way avoid the error "object is in use".

If you are agree can you apply the PR ?.

Thanks.


Esteban

Offline

#2 2019-05-28 07:21:43

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,183
Website

Re: Expired database connections not destroyed quickly

Merged.

Also see https://synopse.info/fossil/info/5a281c8463b72482
which contains some optimizations and enhancements to your pull request.

Offline

#3 2019-05-28 10:52:50

EMartin
Member
From: Buenos Aires - Argentina
Registered: 2013-01-09
Posts: 332

Re: Expired database connections not destroyed quickly

Thank you @ab.


Esteban

Offline

Board footer

Powered by FluxBB