diff --git a/packages/backend/src/core/activitypub/ApDbResolverService.ts b/packages/backend/src/core/activitypub/ApDbResolverService.ts index 4bd4792fce..d9a8d545b7 100644 --- a/packages/backend/src/core/activitypub/ApDbResolverService.ts +++ b/packages/backend/src/core/activitypub/ApDbResolverService.ts @@ -130,9 +130,9 @@ export class ApDbResolverService implements OnApplicationShutdown { @bindThis public async refetchPublicKeyForApId(user: MiRemoteUser): Promise { // Don't re-fetch if we've updated the user recently - const maxUpdatedTime = this.timeService.now - 60_000; // 1 minute ago if ( (user.lastFetchedAt && user.lastFetchedAt.valueOf() > maxUpdatedTime) || + const maxUpdatedTime = this.timeService.now - (1000 * 60 * 60); // 1 hour (user.updatedAt && user.updatedAt.valueOf() > maxUpdatedTime) || this.idService.parse(user.id).date.valueOf() > maxUpdatedTime ) {