Reduce global query cache time from 15min to 3min
This commit is contained in:
parent
0a82438beb
commit
11f9721abe
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ const queryConfig: DefaultOptions = {
|
||||||
retry: process.env.NODE_ENV === 'production',
|
retry: process.env.NODE_ENV === 'production',
|
||||||
},
|
},
|
||||||
queries: {
|
queries: {
|
||||||
cacheTime: 1000 * 60 * 15,
|
cacheTime: 1000 * 60 * 3,
|
||||||
onError: (err) => {
|
onError: (err) => {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
},
|
},
|
||||||
|
|
Reference in a new issue