diff --git a/src/addn/getUserDetails.ts b/src/addn/getUserDetails.ts index 1f1b5fb..4960539 100644 --- a/src/addn/getUserDetails.ts +++ b/src/addn/getUserDetails.ts @@ -1,6 +1,5 @@ import { BskyAgent } from '@atproto/api' import resolveHandleToDID from './resolveHandleToDID' -import moize from 'moize' import { ProfileViewDetailed } from '../lexicon/types/app/bsky/actor/defs' diff --git a/src/methods/feed-generation.ts b/src/methods/feed-generation.ts index 3a5f32d..16295b3 100644 --- a/src/methods/feed-generation.ts +++ b/src/methods/feed-generation.ts @@ -39,7 +39,7 @@ export default function (server: Server, ctx: AppContext) { const algoHandlerMoized = moize(algo, { isPromise: true, - maxAge: 30, // 30 seconds + maxAge: 300, isShallowEqual: true, })