Skip to content

Commit

Permalink
fix: fixed HbarSpendingPlanConfigService suite
Browse files Browse the repository at this point in the history
Signed-off-by: Logan Nguyen <logan.nguyen@swirldslabs.com>
  • Loading branch information
quiet-node committed Jan 31, 2025
1 parent 370de1b commit c57fc1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/relay/src/lib/clients/cache/localLRUCache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import { Logger } from 'pino';
import { Gauge, Registry } from 'prom-client';
import { ICacheClient } from './ICacheClient';
import constants from '../../constants';
import LRUCache, { LimitedByCount, LimitedByTTL } from 'lru-cache';
import { ConfigService } from '@hashgraph/json-rpc-config-service/dist/services';
import { RequestDetails } from '../../types';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ describe('HbarSpendingPlanConfigService', function () {

overrideEnvsInMochaDescribe({
HBAR_SPENDING_PLANS_CONFIG: hbarSpendingPlansConfigEnv,
CACHE_TTL: '100',
CACHE_MAX: spendingPlansConfig.length.toString(),
CACHE_TTL: 100,
CACHE_MAX: spendingPlansConfig.length,
});

before(async function () {
Expand Down

0 comments on commit c57fc1a

Please sign in to comment.