Skip to content

Commit

Permalink
Updated TTL cache connection string
Browse files Browse the repository at this point in the history
  • Loading branch information
thehenrytsai committed Jul 5, 2024
1 parent a299b09 commit d5dd21b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ export const config = {
* Postgres: 'postgres://root:dwn@localhost:5432/dwn'
* MySQL: 'mysql://root:dwn@localhost:3306/dwn'
*/
ttlCacheUrl: process.env.DWN_TTL_CACHE_URL || 'mysql://root:dwn@localhost:3306/dwn',
// ttlCacheUrl: process.env.DWN_TTL_CACHE_URL || 'sqlite://',
// ttlCacheUrl: process.env.DWN_TTL_CACHE_URL || 'postgres://root:dwn@localhost:5432/dwn',
ttlCacheUrl: process.env.DWN_TTL_CACHE_URL || 'sqlite://',

/**
* Used to populate the `version` and `sdkVersion` properties returned by the `/info` endpoint.
Expand Down
2 changes: 1 addition & 1 deletion tests/connection/connection-manager.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { JsonRpcSocket } from '../../src/json-rpc-socket.js';

chai.use(chaiAsPromised);

describe.only('InMemoryConnectionManager', () => {
describe('InMemoryConnectionManager', () => {
let dwn: Dwn;
let connectionManager: InMemoryConnectionManager;
let httpApi: HttpApi;
Expand Down

0 comments on commit d5dd21b

Please sign in to comment.