Skip to content

Commit e99acec

Browse files
committed
fix(sources): another general cache error fix
1 parent 29a487b commit e99acec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

background/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const ajax = (url, opts = {}) => {
5252
cache = ajax.cache[parsed.host];
5353
cacheRequestKey = parsed.pathname + parsed.search;
5454
if (cache.has(cacheRequestKey)) {
55-
ajax.next();
55+
setTimeout(ajax.next);
5656
return cache.get(cacheRequestKey);
5757
} else {
5858
const req = request(url, opts);

0 commit comments

Comments
 (0)