Re: [cx-oracle-users] Time out parameter for connect?
Brought to you by:
atuining
From: Anthony T. <ant...@gm...> - 2005-10-25 17:28:54
|
I don't believe there is any method in the OCI that allows you to specify this value. Googling certainly suggests as much (others have asked for this capability and been told that it does not exist). Note that SQL*Net does allow you to specify such things so perhaps you need to look at the SQL*Net configuration. On 10/25/05, Richard Moore <ri...@we...> wrote: > > > Molina, Gerardo wrote: > > What I was looking for was a timeout associated with an attempted > > connect, not a timeout for after the connection is established. > > Basically, I'm trying to reduce the the time spent waiting for a TCP > > timeout if host is off the air. I was looking for something like the > > timeout parameter in the pexpect module. > > You use an alarm call, possibly something like > http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/307871 > but I guess this might lead to a resource leak. > > Rich. > -- > Richard Moore, Principal Software Engineer, > Westpoint Ltd, > Albion Wharf, 19 Albion Street, Manchester, M1 5LN, England > Tel: +44 161 237 1028 > Fax: +44 161 237 1031 > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. > Get Certified Today * Register for a JBoss Training Course > Free Certification Exam for All Training Attendees Through End of 2005 > Visit http://www.jboss.com/services/certification for more information > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > |