Commits
lotte authored f160196cf3a
32 32 | getResponseParser(): GenericConstructor<ResponseParsingService> { |
33 33 | return DSOResponseParsingService; |
34 34 | } |
35 35 | |
36 36 | get toCache(): boolean { |
37 37 | return this.responseMsToLive > 0; |
38 38 | } |
39 39 | } |
40 40 | |
41 41 | export class GetRequest extends RestRequest { |
42 - | public responseMsToLive = 10000; |
42 + | public responseMsToLive = 60 * 15 * 1000; |
43 43 | |
44 44 | constructor( |
45 45 | public uuid: string, |
46 46 | public href: string, |
47 47 | public body?: any, |
48 48 | public options?: HttpOptions, |
49 49 | ) { |
50 50 | super(uuid, href, RestRequestMethod.GET, body, options) |
51 51 | } |
52 52 | } |