Skip to content

Commit

Permalink
Make the credential verification cache bigger (#2175)
Browse files Browse the repository at this point in the history
  • Loading branch information
robknight authored Nov 13, 2024
1 parent 77cdd13 commit 3fba964
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class CredentialSubservice {
private dbPool: Pool | undefined;

public constructor(zupassPublicKey: EdDSAPublicKey, dbPool?: Pool) {
this.verificationCache = new LRUCache({ max: 1000 });
this.verificationCache = new LRUCache({ max: 20000 });
this.zupassPublicKey = zupassPublicKey;
this.dbPool = dbPool;
}
Expand Down
2 changes: 1 addition & 1 deletion apps/passport-server/src/services/issuanceService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export class IssuanceService {
string,
Promise<VerifiedCredential>
>({
max: 1000
max: 20000
});

this.feedHost = new FeedHost(
Expand Down

0 comments on commit 3fba964

Please sign in to comment.