2009年1月5日星期一

[fw-db] How do I set Zend_DB connection timeout?

How do I set my connection timeout when I create an adapter?

Here's what I've got now....

$adapterToAdd = Zend_Db::factory($zend_db_config);

I want it to fail if it doesn't get a connection within 15 seconds. The
default seems to be 30 seconds.

Thank you!!
Jon
--
View this message in context: http://www.nabble.com/How-do-I-set-Zend_DB-connection-timeout--tp21301315p21301315.html
Sent from the Zend DB mailing list archive at Nabble.com.

没有评论: