Timeout when connecting to sybase DBS

eranlevi gil.shinar at gmail.com
Mon Jun 29 05:35:17 EDT 2009


Hi All,

I'm using the Sybase module for connecting and using a sybase DBS.
When I try to connect when the DBS is down, it take approximately 4
minutes for the function (conn.ct_connect) to return with an error. I
have looked for a timeout parameter to limit the 4 minutes to
something more reasonable but couldn't find one.
Can anyone please help?

BTW, I'm using Sybase.connect(<DBS name>, <Username>, <Password>,
datetime='auto')

Thanks

Gil



More information about the Python-list mailing list