directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject - Time units for timeout
Date Wed, 06 Feb 2013 17:38:20 GMT
I'm trying to understand why I'm getting what seems like a premature timeout.

When I set the timeout in my search request, I believe it is in seconds.
SearchRequest.setTimeLimit(5); // seconds

When I try to get a search cursor,
SearchCursor cur =  LdapNetworkConnection. search(SearchRequest);

it times out with this error TimeOut occurred

I think line 1595 treats the seconds as milliseconds ?

I'm just setting my timeout to 0 to get around this for now.. Thanks.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message