[CDBI] Re: Class::DBI and forking
Carlos Vicente <cvicente-zZ82ZiX1S8l+u43qRgrggVnYRNhDb3e+9nwVQlTi/[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.class-dbi |
|---|---|
| Message-ID | <[email protected]> |
> The message it refers to is here: > http://lists.digitalcraftsmen.net/pipermail/classdbi/2005-October/000338.html > > If you use this patch to Ima::DBI, you will not need to modify anything > else in Class::DBI. Make sure you set InactiveDestroy on your database > handles in the child process, and on any you open prior to the initial > fork, since those eventually time out and close as well. > > - Perrin Hi Perrin, It looks like that will work. Thank you. It would be *great* if this made it into CPAN. My application is an open source package and it would be much better if people didn't have to go around patching CPAN modules to make it work. Thanks much. cv