Setting cache period to zero for all instances where forceBypassCache was previously true.

This commit is contained in:
Michael W Spalti
2019-09-12 16:14:13 -07:00
parent 121e564e12
commit 34defdc5cd
5 changed files with 21 additions and 0 deletions

View File

@@ -109,10 +109,14 @@ export class SubmissionRestService {
filter((href: string) => isNotEmpty(href)),
distinctUntilChanged(),
map((endpointURL: string) => new SubmissionRequest(requestId, endpointURL)),
<<<<<<< HEAD
map ((request: RestRequest) => {
request.responseMsToLive = 0;
return request;
}),
=======
map ((request: RestRequest) => request.responseMsToLive = 0),
>>>>>>> Setting cache period to zero for all instances where forceBypassCache was previously true.
tap((request: RestRequest) => this.requestService.configure(request)),
flatMap(() => this.fetchRequest(requestId)),
distinctUntilChanged());