We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b5143c commit ea67ca9Copy full SHA for ea67ca9
ui/app/helpers/utils/fetch-with-cache.js
@@ -2,6 +2,11 @@ import {
2
loadLocalStorageData,
3
saveLocalStorageData,
4
} from '../../../lib/local-storage-helpers'
5
+import http from './fetch'
6
+
7
+const fetch = http({
8
+ timeout: 30000,
9
+})
10
11
export default function fetchWithCache (url, opts, cacheRefreshTime = 360000) {
12
const currentTime = Date.now()
0 commit comments