|
|
sybperl-l Archive
Up Prev Next
From: John Howland <jch at iron dot wi dot mit dot edu>
Subject: Re: where is ct_connect timeout set?
Date: Dec 1 1997 2:39PM
Thanks for your rapid reply and consderate suggestions.
I found that timeout as well in 15 minutes. I don't have a login timeout
problem as the error is immediate, not after 60 seconds.
Our login timeout is 60 seconds.
I don't have any insight to the steps leading up to the login request
and internal timeouts involved in those steps. This may be an internal
Sybase thing in their API. This is what I need help on.
john howland
Michael Peppler wrote:
> I found the answer in about five minutes searching sybooks for
> 'timeout'... (if you don't have sybooks installed you can go to
> http://sybooks.sybase.com).
>
> The default login timeout is 60 seconds. It can be changed with a
> call to ct_config().
>
> In Sybperl this would be
>
> ct_config(CS_SET, CS_LOGIN_TIMEOUT, 120, CS_INT_TYPE);
>
> to set the timeout to 2 minutes.
> You can also set the timeout to be infinite:
>
> ct_config(CS_SET, CS_LOGIN_TIMEOUT, CS_NO_LIMIT, CS_INT_TYPE);
>
> I have not tried it here as I don't have any response problems,
> but it should work.
>
> Michael
> --
> Michael Peppler -||- Data Migrations Inc.
> mpeppler@datamig.com -||- http://www.mbay.net/~mpeppler
>
|