62589: Item-Mapper Requests responseMsToLive to 10s

This commit is contained in:
Kristof De Langhe
2019-10-10 13:39:59 +02:00
parent 5b776b605a
commit f7bd30cf12
3 changed files with 3 additions and 3 deletions

View File

@@ -134,7 +134,7 @@ export class CollectionItemMapperComponent implements OnInit {
scope: undefined,
dsoType: DSpaceObjectType.ITEM,
sort: this.defaultSortOptions
}), 1000).pipe(
}), 10000).pipe(
toDSpaceObjectListRD(),
startWith(undefined)
);

View File

@@ -118,7 +118,7 @@ export class ItemCollectionMapperComponent implements OnInit {
return this.searchService.search(Object.assign(new PaginatedSearchOptions(searchOptions), {
query: this.buildQuery([...itemCollectionsRD.payload.page, owningCollectionRD.payload], searchOptions.query),
dsoType: DSpaceObjectType.COLLECTION
}), 1000).pipe(
}), 10000).pipe(
toDSpaceObjectListRD(),
startWith(undefined)
);

View File

@@ -190,7 +190,7 @@ export class BrowseItemsRequest extends GetRequest {
* Request to fetch the mapped collections of an item
*/
export class MappedCollectionsRequest extends GetRequest {
public responseMsToLive = 0;
public responseMsToLive = 10000;
getResponseParser(): GenericConstructor<ResponseParsingService> {
return MappedCollectionsReponseParsingService;