- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Hosts (0.01 sec)
-
CrawlerEngineClient.java
protected Client createClient() { L33: final FessConfig fessConfig = ComponentUtil.getFessConfig(); L34: final String[] hosts = L35: split(address, ",").get(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).toArray(n -> new String[n])); L36: final Builder builder = Settings.builder().putList("http.hosts", hosts).put("processors", fessConfig.getCrawlerHttpProcessors()) L37: .put("http.heartbeat_interval", fessConfig.getFesenHeartbeatInterval());...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.3K bytes -
CurlHelper.java
Exception e) { L73: logger.warn("Failed to load {}", authorities, e); L74: } L75: } L76: L77: final String[] hosts = split(ResourceUtil.getFesenHttpUrl(), ",") L78: .get(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).toArray(n -> new String[n])); L79: nodeManager = new NodeManager(hosts, node -> request(new CurlRequest(Method.GET, node.getUrl("/")))); L80: nodeManager.setHeartbeatInterval(fessConfig.getFesenHeartbeatInterval());...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 4.8K bytes