On 27 Dec 2006, at 15:56, Mark Zealey wrote:

that's cos the database connection has gone away (it happens after about 20 min) and the DBD driver for you database doesnt have autoreconnect set. This
is a DBD:: specific thing - the way for mysql databases is to set
mysql_auto_reconnect to true in the DBI connection options (which iirc you
can pass through DBIx::Class somehow.

Buggy as shit.

Never EVER use mysql_auto_reconnect - I've fixed a spectacular number of client problems simply by turning the damn thing off.

--
Matt S Trout, Technical Director, Shadowcat Systems Ltd.
Offering custom development, consultancy and support contracts for Catalyst, DBIx::Class and BAST. Contact mst (at) shadowcatsystems.co.uk for details. + Help us build a better perl ORM: http://dbix- class.shadowcatsystems.co.uk/ +



_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to