Changeset 7017
- Timestamp:
- 06/08/16 14:42:45 (8 years ago)
- Location:
- SRUAggregator/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
SRUAggregator/trunk/src/assembly/conf/aggregator.yaml
r6130 r7017 1 1 aggregatorParams: 2 CENTER_REGISTRY_URL: http ://centres.clarin.eu/restxml/2 CENTER_REGISTRY_URL: https://centres.clarin.eu/restxml/ 3 3 # additionalCQLEndpoints: 4 4 # # - https://clarin.ids-mannheim.de/digibibsru-new … … 14 14 AGGREGATOR_FILE_PATH: /var/lib/aggregator/fcsAggregatorCorpora.json 15 15 AGGREGATOR_FILE_PATH_BACKUP: /var/lib/aggregator/fcsAggregatorCorpora.backup.json 16 # AGGREGATOR_FILE_PATH: /Users/edima/fcsAggregatorCorpora.json 17 # AGGREGATOR_FILE_PATH_BACKUP: /Users/edima/fcsAggregatorCorpora.backup.json 16 18 17 SCAN_MAX_DEPTH: 3 # recommended 3 19 SCAN_TASK_INITIAL_DELAY: 020 SCAN_TASK_INTERVAL: 1218 SCAN_TASK_INITIAL_DELAY: 10 19 SCAN_TASK_INTERVAL: 24 21 20 SCAN_TASK_TIME_UNIT: HOURS 21 SCAN_MAX_CONCURRENT_REQUESTS_PER_ENDPOINT: 4 # @depth2: 1=361s; 2=225s; 4=207s 22 22 23 SCAN_MAX_CONCURRENT_REQUESTS_PER_ENDPOINT: 4 # @depth2: 1=361s; 2=225s; 4=207s24 23 SEARCH_MAX_CONCURRENT_REQUESTS_PER_ENDPOINT: 4 24 SEARCH_MAX_CONCURRENT_REQUESTS_PER_SLOW_ENDPOINT: 1 25 slowEndpoints: 26 - http://cqlservlet.mpi.nl/ 25 27 26 ENDPOINTS_SCAN_TIMEOUT_MS: 60000 28 ENDPOINTS_SCAN_TIMEOUT_MS: 600000 # 10 minutes, needed for slow BAS server 27 29 ENDPOINTS_SEARCH_TIMEOUT_MS: 30000 28 30 EXECUTOR_SHUTDOWN_TIMEOUT_MS: 1000 29 31 30 32 weblichtConfig: 31 url: https://weblicht.sfs.uni-tuebingen.de/web Licht/?input=33 url: https://weblicht.sfs.uni-tuebingen.de/weblicht/?input= 32 34 acceptedTcfLanguages: 33 35 - en -
SRUAggregator/trunk/src/main/java/eu/clarin/sru/fcs/aggregator/app/Aggregator.java
r6177 r7017 225 225 @Override 226 226 public int getMaxConcurrentRequest(URI baseURI) { 227 return params.slowEndpoints.contains(baseURI)227 return (params.slowEndpoints != null && params.slowEndpoints.contains(baseURI)) 228 228 ? params.SEARCH_MAX_CONCURRENT_REQUESTS_PER_SLOW_ENDPOINT 229 229 : params.SEARCH_MAX_CONCURRENT_REQUESTS_PER_ENDPOINT;
Note: See TracChangeset
for help on using the changeset viewer.