On Tue, 27 May 2008 09:51:41 +0200, sshafroi-nfHIbyyn0D0 wrote: > Author: sshafroi > Date: 2008-05-27 09:51:40 +0200 (Tue, 27 May 2008) New Revision: 6639 > > Modified: > trunk/war/src/main/java/no/sesat/search/http/filters/UserFilter.java > Log: > added check on jnp.disableDiscovery property to avoid looking up a user > service backend. On my computer I don't have this service and the > getBasicUserService is called twice for each search and this takes > 2x5sec to timeout. > > There might be smarter ways of solving this, feel free to comment.
This approach might disable all jnp (eg katalog service). One possible smarter approach would be do cache against sites the disabled return value so that future checks are always quick when the service is known not to exist. ~mck -- "One of the easiest ways to avoid many common problems is to stop using Microsoft software." Mark Ward, BBC | www.semb.wever.org | www.sesat.no | www.sesam.no | _______________________________________________ Kernel-development mailing list [email protected] http://sesat.no/mailman/listinfo/kernel-development
