mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-19 09:54:18 +02:00
Reduce global query cache time from 15min to 3min
This commit is contained in:
@@ -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 New Issue
Block a user