./databases/p5-Rose-DBx-AutoReconnect, Perl5 module for Rose::DB with auto-reconnect to server

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2022Q2, Version: 0.04nb8, Package name: p5-Rose-DBx-AutoReconnect-0.04nb8, Maintainer: pkgsrc-users

Rose::DBx::AutoReconnect is a subclass of Rose::DB. Additional
features include:

* If using new_or_cached() method, will ping() dbh on every
fetch from cache to ensure that the dbh is connected. This
extends the basic Rose::DB::Cache behaviour beyond
mod_perl/Apache::DBI.
* Convenient logger() method for debugging.
* Always uses DBI connect_cached() method when creating handles.

Rose::DBx::AutoReconnect was written to allow new_or_cached() to
work with MySQL's "morning bug" and to allow for restarting your
database without restarting your application. See also
Rose::DBx::Cache::Anywhere.


Master sites: (Expand)

Filesize: 3.961 KB

Version history: (Expand)