mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 06:43:51 +02:00
fix
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
const SECOND = 1000;
|
||||
const MINUTE = 60 * SECOND;
|
||||
|
||||
export const entityQueryPolicies = Object.freeze({
|
||||
user: Object.freeze({
|
||||
@@ -20,8 +21,8 @@ export const entityQueryPolicies = Object.freeze({
|
||||
refetchOnWindowFocus: false
|
||||
}),
|
||||
group: Object.freeze({
|
||||
staleTime: 60 * SECOND,
|
||||
gcTime: 300 * SECOND,
|
||||
staleTime: 5 * MINUTE,
|
||||
gcTime: 30 * MINUTE,
|
||||
retry: 1,
|
||||
refetchOnWindowFocus: false
|
||||
}),
|
||||
@@ -62,8 +63,8 @@ export const entityQueryPolicies = Object.freeze({
|
||||
refetchOnWindowFocus: false
|
||||
}),
|
||||
fileAnalysis: Object.freeze({
|
||||
staleTime: 120 * SECOND,
|
||||
gcTime: 600 * SECOND,
|
||||
staleTime: 10 * MINUTE,
|
||||
gcTime: 60 * MINUTE,
|
||||
retry: 1,
|
||||
refetchOnWindowFocus: false
|
||||
}),
|
||||
|
||||
@@ -98,6 +98,7 @@
|
||||
import { convertFileUrlToImageUrl, parseLocation } from '../../../shared/utils';
|
||||
import { useInviteChecks } from '../../../composables/useInviteChecks';
|
||||
import { useAppearanceSettingsStore, useGroupStore, useLaunchStore } from '../../../stores';
|
||||
import { showGroupDialog } from '../../../coordinators/groupCoordinator';
|
||||
import { instanceRequest } from '../../../api';
|
||||
|
||||
import BackToTop from '../../../components/BackToTop.vue';
|
||||
@@ -107,7 +108,7 @@
|
||||
|
||||
const launchStore = useLaunchStore();
|
||||
const { isAgeGatedInstancesVisible } = storeToRefs(useAppearanceSettingsStore());
|
||||
const { showGroupDialog, sortGroupInstancesByInGame } = useGroupStore();
|
||||
const { sortGroupInstancesByInGame } = useGroupStore();
|
||||
const { groupInstances } = storeToRefs(useGroupStore());
|
||||
const { checkCanInviteSelf } = useInviteChecks();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user