mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +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',
|
||||
},
|
||||
queries: {
|
||||
cacheTime: 1000 * 60 * 15,
|
||||
cacheTime: 1000 * 60 * 3,
|
||||
onError: (err) => {
|
||||
console.error(err);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user