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/app/Aggregator.java

    r5900 r5901  
    8080 * @author edima
    8181 *
     82 * TODO: version page: credits, open source, see vcr/version page
     83 *
     84 * TODO: change the order in the GUI: selected collections after the
     85 * language/layer
     86 *
     87 * TODO: condensed list of corpora
     88 *
     89 * TODO: group the list of corpora by institution?
     90 *
     91 * TODO: fix ordering of corpora in corpora view
     92 *
     93 * TODO: corpora search should not indicate the ones that don't match
     94 *
     95 * TODO: try to refine by language using a language library, with UI element
     96 *
     97 * TODO: helpdesk: switch to english (parameter of the form)
     98 *
     99 * TODO: label: "phonetic transcriptions" (ask the BAS guys)
     100 *
     101 * TODO: number of results control: make the buttons larger
     102 *
     103 * TODO: Collections view: home link (make a single consistent text for it)
     104 *
    82105 * TODO: push footer down
    83106 *
     
    107130 *
    108131 * TODO: show multiple hits on the same result in multiple rows, linked visually
     132 *
     133 * TODO: optimise page load
    109134 *
    110135 * TODO: improve help page text
     
    190215                log.info("Aggregator initialization started.");
    191216                sruScanClient = new ThrottledClient(
    192                                 new ClarinFCSClientBuilder()
     217                        new ClarinFCSClientBuilder()
    193218                                .setConnectTimeout(params.ENDPOINTS_SCAN_TIMEOUT_MS)
    194219                                .setSocketTimeout(params.ENDPOINTS_SCAN_TIMEOUT_MS)
    195220                                .addDefaultDataViewParsers()
    196221                                .enableLegacySupport()
    197                                 .buildThreadedClient());
     222                                .buildThreadedClient(),
     223                                params.SCAN_MAX_CONCURRENT_REQUESTS_PER_ENDPOINT,
     224                                params.SEARCH_MAX_CONCURRENT_REQUESTS_PER_ENDPOINT
     225                );
    198226                sruSearchClient = new ThrottledClient(
    199227                                new ClarinFCSClientBuilder()
     
    202230                                .addDefaultDataViewParsers()
    203231                                .enableLegacySupport()
    204                                 .buildThreadedClient());
     232                                .buildThreadedClient(),
     233                                params.SCAN_MAX_CONCURRENT_REQUESTS_PER_ENDPOINT,
     234                                params.SEARCH_MAX_CONCURRENT_REQUESTS_PER_ENDPOINT
     235                );
    205236
    206237                File corporaCacheFile = new File(params.AGGREGATOR_FILE_PATH);
Note: See TracChangeset for help on using the changeset viewer.