This commit is contained in:
Shusui MOYATANI
2023-03-12 13:33:35 +09:00
parent 0e62c4d167
commit bec8352746
18 changed files with 382 additions and 267 deletions

View File

@@ -19,7 +19,7 @@ export type UseReactions = {
};
const { exec } = useBatchedEvents<UseReactionsProps>(() => ({
interval: 3400,
interval: 5000,
generateKey: ({ eventId }) => eventId,
mergeFilters: (args) => {
const eventIds = args.map((arg) => arg.eventId);