Re: Timeout when connecting to sybase DBS

2009-07-02 Thread eranlevi
On Jul 2, 1:08 am, s...@pobox.com wrote:     Gil There's no such group as python-sybase :-( http://sourceforge.net/mailarchive/forum.php?forum_name=python-sybase... S Thanks :-) -- http://mail.python.org/mailman/listinfo/python-list

Re: Timeout when connecting to sybase DBS

2009-07-02 Thread eranlevi
On Jul 2, 1:07 am, s...@pobox.com wrote:     Gil Are you saying, that when you trying to connect to a sybase DBS     Gil server and the DBS or the server is down, you get an error after a     Gil few seconds and not after a few minutes? Yes, though thankfully our server tends to almost always

Re: Timeout when connecting to sybase DBS

2009-07-01 Thread eranlevi
On Jun 30, 7:48 pm, s...@pobox.com wrote:     Gil I have looked for a timeout parameter to limit the 4 minutes to     Gil something more reasonable but couldn't find one.  Can anyone please     Gil help?     Gil BTW, I'm using Sybase.connect(DBS name, Username, Password,     Gil

Re: Timeout when connecting to sybase DBS

2009-07-01 Thread eranlevi
On Jul 1, 3:56 pm, eranlevi gil.shi...@gmail.com wrote: On Jun 30, 7:48 pm, s...@pobox.com wrote:     Gil I have looked for a timeout parameter to limit the 4 minutes to     Gil something more reasonable but couldn't find one.  Can anyone please     Gil help?     Gil BTW, I'm using

Re: Timeout when connecting to sybase DBS

2009-07-01 Thread skip
Gil There's no such group as python-sybase :-( http://sourceforge.net/mailarchive/forum.php?forum_name=python-sybase-misc S -- http://mail.python.org/mailman/listinfo/python-list

Re: Timeout when connecting to sybase DBS

2009-07-01 Thread skip
Gil Are you saying, that when you trying to connect to a sybase DBS Gil server and the DBS or the server is down, you get an error after a Gil few seconds and not after a few minutes? Yes, though thankfully our server tends to almost always be up. Gil Which python version are you

Re: Timeout when connecting to sybase DBS

2009-06-30 Thread skip
Gil I have looked for a timeout parameter to limit the 4 minutes to Gil something more reasonable but couldn't find one. Can anyone please Gil help? Gil BTW, I'm using Sybase.connect(DBS name, Username, Password, Gil datetime='auto') We use the Sybase module where I work,

Timeout when connecting to sybase DBS

2009-06-29 Thread eranlevi
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