Ignore:
Timestamp:
12/11/14 15:58:31 (9 years ago)
Author:
emanuel.dima@uni-tuebingen.de
Message:
  1. alpha10: throttled client bug fix, more todos
File:
1 edited

Legend:

Unmodified
Added
Removed
  • SRUAggregator/trunk/src/main/java/eu/clarin/sru/fcs/aggregator/rest/RestService.java

    r5900 r5901  
    7575                                put("lastScanStats", new HashMap<String, Object>() {
    7676                                        {
    77                                                 put("maxConcurrentRequestsPerEndpoint", ThrottledClient.MAX_CONCURRENT_REQUESTS);
     77                                                put("maxConcurrentScanRequestsPerEndpoint",
     78                                                                Aggregator.getInstance().getParams().getSCAN_MAX_CONCURRENT_REQUESTS_PER_ENDPOINT());
    7879                                                put("timeout", params.getENDPOINTS_SCAN_TIMEOUT_MS() / 1000.);
    7980                                                put("institutions", scan.getInstitutions());
     
    8283                                put("searchStats", new HashMap<String, Object>() {
    8384                                        {
    84                                                 put("maxConcurrentRequestsPerEndpoint", ThrottledClient.MAX_CONCURRENT_REQUESTS);
     85                                                put("maxConcurrentSearchRequestsPerEndpoint",
     86                                                                Aggregator.getInstance().getParams().getSEARCH_MAX_CONCURRENT_REQUESTS_PER_ENDPOINT());
    8587                                                put("timeout", params.getENDPOINTS_SEARCH_TIMEOUT_MS() / 1000.);
    8688                                                put("institutions", search.getInstitutions());
Note: See TracChangeset for help on using the changeset viewer.