feat: support inline image

This commit is contained in:
Shusui MOYATANI
2023-03-07 20:50:34 +09:00
parent bcbd9242f3
commit 06baf0f154
7 changed files with 91 additions and 21 deletions

View File

@@ -35,9 +35,9 @@ const useEvent = (propsProvider: () => UseEventProps | null): UseEvent => {
return timeout(15000, `useEvent: ${currentProps.eventId}`)(exec(currentProps, signal));
},
{
// 5 minutes
staleTime: 5 * 60 * 1000,
cacheTime: 15 * 60 * 1000,
// a hour
staleTime: 60 * 60 * 1000,
cacheTime: 60 * 60 * 1000,
},
);