We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d234a10 commit f03357cCopy full SHA for f03357c
README.md
@@ -109,8 +109,8 @@ const datasource = new (class MoviesAPI extends HTTPDataSource {
109
'X-Foo': 'bar',
110
},
111
requestCache: {
112
- maxTtl: 1000 * 60 * 10, // 10min, will respond for 10min with the cached result (updated every 10min)
113
- maxTtlIfError: 1000 * 60 * 30, // 30min, will respond with the cached response in case of an error (for further 20min)
+ maxTtl: 10 * 60, // 10min, will respond for 10min with the cached result (updated every 10min)
+ maxTtlIfError: 30 * 60, // 30min, will respond with the cached response in case of an error (for further 20min)
114
115
})
116
}
0 commit comments