verify recursion limit in MockResolver
This commit is contained in:
parent
c45d6ea452
commit
6f6ee0436e
2 changed files with 14 additions and 2 deletions
|
|
@ -30,7 +30,7 @@ import { ApRequestService } from './ApRequestService.js';
|
|||
import type { IObject, ApObject, IAnonymousObject } from './type.js';
|
||||
|
||||
export class Resolver {
|
||||
private history: Set<string>;
|
||||
protected readonly history: Set<string>;
|
||||
private user?: MiLocalUser;
|
||||
private logger: Logger;
|
||||
|
||||
|
|
@ -52,7 +52,7 @@ export class Resolver {
|
|||
private readonly apLogService: ApLogService,
|
||||
private readonly apUtilityService: ApUtilityService,
|
||||
private readonly cacheService: CacheService,
|
||||
private recursionLimit = 256,
|
||||
protected readonly recursionLimit = 256,
|
||||
) {
|
||||
this.history = new Set();
|
||||
this.logger = this.loggerService.getLogger('ap-resolve');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue