Merge remote-tracking branch 'atmire-internal/responseMsToLive' into patch-support

Conflicts:
	src/app/core/data/request.models.ts
	src/config/cache-config.interface.ts
This commit is contained in:
lotte
2018-10-12 15:23:17 +02:00
5 changed files with 15 additions and 7 deletions

View File

@@ -125,7 +125,7 @@ export abstract class BaseResponseParsingService {
if (hasNoValue(co) || hasNoValue(co.self)) {
throw new Error('The server returned an invalid object');
}
this.objectCache.add(co, this.EnvConfig.cache.msToLive, requestHref);
this.objectCache.add(co, this.EnvConfig.cache.msToLive.default, requestHref);
}
processPageInfo(payload: any): PageInfo {